I have a v-app-bar
control, and I'm trying to add a logo/image to it.
Is there a standard approach in Veutify for adding a logo to the AppBar?
I have a v-app-bar
control, and I'm trying to add a logo/image to it.
Is there a standard approach in Veutify for adding a logo to the AppBar?
You can add a v-img
component like this:
It's important to set a max-height
and max-width
, otherwise the image will overflow the nav vertically and push over the title horizontally. And also set contain
to preserve the aspect ratio
Note: If you're using Nuxt/Webpack, etc, you might need to build the image path with something like this:
:src="require('~/assets/logo.png')"