[U] Titles
This commit is contained in:
@@ -5,16 +5,19 @@ const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: '/',
|
||||
name: 'Home',
|
||||
meta: {title: 'Home'},
|
||||
component: Home
|
||||
},
|
||||
{
|
||||
path: '/new-home',
|
||||
name: 'New Home',
|
||||
meta: {title: 'Home'},
|
||||
component: () => import('../views/NewHome.vue')
|
||||
},
|
||||
{
|
||||
path: '/about',
|
||||
name: 'About',
|
||||
meta: {title: 'About Me'},
|
||||
// route level code-splitting
|
||||
// this generates a separate chunk (about.[hash].js) for this route
|
||||
// which is lazy-loaded when the route is visited.
|
||||
@@ -23,16 +26,19 @@ const routes: Array<RouteRecordRaw> = [
|
||||
{
|
||||
path: '/life',
|
||||
name: 'Life',
|
||||
meta: {title: 'Life'},
|
||||
component: () => import('../views/Life.vue')
|
||||
},
|
||||
{
|
||||
path: '/color',
|
||||
name: 'ColorPicker',
|
||||
meta: {title: 'Color Picker'},
|
||||
component: () => import('../components/color/ColorPickerTest.vue')
|
||||
},
|
||||
{
|
||||
path: '/projects',
|
||||
name: 'Projects',
|
||||
meta: {title: 'Projects'},
|
||||
component: () => import('../views/Projects.vue')
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user