I'm trying to upgrade from Vuetify/Vue 2->3. I'm not a front-end developer, just tasked with upgrading some legacy code to keep things functioning. Unfortunately, the migration guide seems to assume a level of baseline CSS knowledge and doesn't provide examples of how to fix everything that was removed.
Unfortunately, the only advice it gives is:
stateless
,clipped
,clipped-right
andapp
props have been removed fromv-navigation-drawer
,v-app-bar
andv-system-bar
. The position in the markup determines the appearance. Use theorder="number"
prop to influence it manually.
Cool, so I know I need to replace those with order
. But I have no idea how to maintain the old behavior; the closest help I've managed to find is this post answer, which just says
Documentation for this is here: https://next.vuetifyjs.com/en/features/application-layout/
The way layout components arrange themselves is controlled by the order they appear in the template, and can be adjusted with the order prop which behaves like order in CSS.
Not super helpful if you don't know CSS, unfortunately. That application-layout page only seems to have one example of the order property (under the dynamic layouts section).
In particular, I'm struggling to figure out what to do with the app
/clipped-left
/offset-y
in this block:
<template>
<v-app>
<v-app-bar app clipped-left dense>
<v-app-bar-nav-icon @click.stop="mini = !mini">
<v-icon v-if="!mini" slot="default">mdi-menu-open</v-icon>
</v-app-bar-nav-icon>
<v-toolbar-title>**************</v-toolbar-title>
<v-spacer />
<v-menu offset-y location="left bottom">
Thank you!
(I originally asked this here and it was suggested that I split that into multiple questions)