Can anyone help me with this issue? I am currently utilizing the vue-router library to set up routes in my project, and I am trying to figure out how to adjust the background-color based on different routes. Here’s what I have tried:
import meeting from '../components/meeting.vue'
import { colors } from 'vuetify/lib'
Vue.use(VueRouter)
const routes = [
{
path: '/meeting/:roomId',
name: 'meeting',
component: meeting,
meta: {
backgroundColor:colors.transparent ,
}
},
]
const router = new VueRouter({
routes
});
Unfortunately, this approach isn't working as expected. Any suggestions or insights would be greatly appreciated.