Vue.js 无法在vuejs中显示网站的标题

Vue.js 无法在vuejs中显示网站的标题,vue.js,vuetify.js,Vue.js,Vuetify.js,我无法在用vuetify创建的网站上显示标题。我已经提到 export default new Router({ mode: 'history', routes: [ { path: '/', component: () => import('./../src/views/dashboard/Dashboard.vue'), meta: { auth: t

我无法在用vuetify创建的网站上显示标题。我已经提到

export default new Router({
    mode: 'history',
    routes: [
        {
            path: '/',
            component: () => import('./../src/views/dashboard/Dashboard.vue'),
            meta: {
                auth: true,
                title: 'Dashboard'
            }
        },
在my router.js中,但仍然没有显示标题

这似乎有助于: 他们建议使用某种类型的钩子

第二种解决方案是通过使用“观察者”来降低成本: