add base routes and views
This commit is contained in:
+23
-4
@@ -1,4 +1,5 @@
|
||||
import Home from '@/pages/Home'
|
||||
import TextOptions from '@/pages/_partials/TextOptions'
|
||||
|
||||
|
||||
export default [
|
||||
@@ -9,11 +10,11 @@ export default [
|
||||
},
|
||||
|
||||
{
|
||||
name: 'biblio',
|
||||
path: '/biblio',
|
||||
name: 'library',
|
||||
path: '/library',
|
||||
components: {
|
||||
default: () => import(/* webpackChunkName: "texts" */ '@/pages/Biblio'),
|
||||
options: () => import(/* webpackChunkName: "texts" */ '@/pages/_partials/TextOptions')
|
||||
default: () => import(/* webpackChunkName: "library" */ '@/pages/Library'),
|
||||
options: TextOptions
|
||||
},
|
||||
props: {
|
||||
default: ({ query }) => ({
|
||||
@@ -29,6 +30,24 @@ export default [
|
||||
}
|
||||
},
|
||||
|
||||
{
|
||||
name: 'kit',
|
||||
path: '/kit',
|
||||
component: () => import(/* webpackChunkName: "kit" */ '@/pages/Kit')
|
||||
},
|
||||
|
||||
{
|
||||
name: 'gallery',
|
||||
path: '/gallery',
|
||||
component: () => import(/* webpackChunkName: "gallery" */ '@/pages/Gallery')
|
||||
},
|
||||
|
||||
{
|
||||
name: 'blog',
|
||||
path: '/blog',
|
||||
component: () => import(/* webpackChunkName: "blog" */ '@/pages/Blog')
|
||||
},
|
||||
|
||||
{
|
||||
name: 'notfound',
|
||||
path: '/404',
|
||||
|
||||
Reference in New Issue
Block a user