You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
608 B
26 lines
608 B
import NotFound from './views/NotFound.vue'
|
|
|
|
/** @type {import('vue-router').RouterOptions['routes']} */
|
|
export const routes = [
|
|
{
|
|
path: '/',
|
|
component: () => import('./views/Home.vue'),
|
|
meta: { title: 'Home' }
|
|
},
|
|
{
|
|
path: '/about',
|
|
meta: { title: 'About' },
|
|
component: () => import('./views/About.vue')
|
|
},
|
|
{
|
|
path: '/login',
|
|
meta: {title: 'login'},
|
|
component: () => import('./views/Login.vue')
|
|
},
|
|
{
|
|
path: '/register',
|
|
meta: {title: 'register'},
|
|
component: () => import('./views/Register.vue')
|
|
},
|
|
{ path: '/:path(.*)', component: NotFound },
|
|
]
|
|
|