I am using the Vuetify 3 beta with vue-cli v5, but when I try to use v-app-bar in my template, I get Error: Could not find injected Vuetify layout
This just happened to me. The cause was that I had the v-app-bar outside of the v-app. Moving it inside fixed it.
This error occurs when you forget to wrap your vuetify code inside the v-app tag. To fix that add the v-app tag as shown in the code below:
<v-app>
<!-- Your appBar goes here -->
<v-app-bar title="My site" app>
</v-app-bar>
</v-app>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With