diff --git a/src/App.vue b/src/App.vue index e84b79a..2560274 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,18 +1,21 @@ diff --git a/src/pages/Biblio.vue b/src/pages/Biblio.vue new file mode 100644 index 0000000..17e2d1b --- /dev/null +++ b/src/pages/Biblio.vue @@ -0,0 +1,27 @@ + + + + + diff --git a/src/pages/_partials/TextOptions.vue b/src/pages/_partials/TextOptions.vue new file mode 100644 index 0000000..dbf0076 --- /dev/null +++ b/src/pages/_partials/TextOptions.vue @@ -0,0 +1,16 @@ + + + + + diff --git a/src/router/routes.js b/src/router/routes.js index f730f72..72d9850 100644 --- a/src/router/routes.js +++ b/src/router/routes.js @@ -8,6 +8,23 @@ export default [ component: Home }, + { + name: 'biblio', + path: '/biblio', + components: { + default: () => import(/* webpackChunkName: "texts" */ '@/pages/Biblio'), + options: () => import(/* webpackChunkName: "texts" */ '@/pages/_partials/TextOptions') + }, + props: { + default: ({ query }) => ({ + mode: query.mode || 'tree-map' + }), + options: ({ query }) => ({ + show: !('texts' in query) + }) + } + }, + { name: 'notfound', path: '/404',