16 lines
No EOL
343 B
TypeScript
16 lines
No EOL
343 B
TypeScript
import Home from '../views/Home.vue'
|
|
import NotFound from '../views/NotFound.vue'
|
|
|
|
/** @type {import('vue-router').RouterOptions['routes']} */
|
|
export const routes = [
|
|
{
|
|
path: '/',
|
|
name: 'home',
|
|
component: Home,
|
|
meta: { title: 'Home' }
|
|
}, {
|
|
path: '/:path(.*)',
|
|
name: 'not-found',
|
|
component: NotFound
|
|
},
|
|
] |