add view Page to display static pages && add routing
This commit is contained in:
@@ -59,9 +59,10 @@ export default [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'blog',
|
||||
path: '/blog',
|
||||
component: () => import(/* webpackChunkName: "blog" */ '@/pages/Blog')
|
||||
name: 'pages',
|
||||
path: '/pages/:id',
|
||||
props: true,
|
||||
component: () => import(/* webpackChunkName: "blog" */ '@/pages/Page')
|
||||
},
|
||||
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user