history is functionnal and with state transition
This commit is contained in:
+14
-14
@@ -2,13 +2,13 @@ import Vue from 'vue'
|
||||
import Router from 'vue-router'
|
||||
|
||||
import Home from 'pages/Home'
|
||||
import Item from 'components/Content/Item'
|
||||
import Item from 'pages/Item'
|
||||
import Corpus from 'pages/Corpus'
|
||||
import Nominum from 'pages/Nominum'
|
||||
import NominumItem from 'components/Content/NominumItem'
|
||||
// import NominumItem from 'pages/NominumItem'
|
||||
import Locorum from 'pages/Locorum'
|
||||
import Operum from 'pages/Operum'
|
||||
import OperumItem from 'components/Content/OperumItem'
|
||||
// import OperumItem from 'pages/OperumItem'
|
||||
import Bibliographie from 'pages/Bibliographie'
|
||||
|
||||
Vue.use(Router)
|
||||
@@ -21,7 +21,7 @@ const routes = [
|
||||
},
|
||||
{
|
||||
name: 'item',
|
||||
path: '/items/:uuid',
|
||||
path: '/babar/:uuid',
|
||||
component: Item,
|
||||
props: true
|
||||
},
|
||||
@@ -35,11 +35,11 @@ const routes = [
|
||||
path: '/nominum',
|
||||
component: Nominum
|
||||
},
|
||||
{
|
||||
name: 'nominumItem',
|
||||
path: '/nominum/:id',
|
||||
component: NominumItem
|
||||
},
|
||||
// {
|
||||
// name: 'nominumItem',
|
||||
// path: '/nominum/:id',
|
||||
// component: NominumItem
|
||||
// },
|
||||
{
|
||||
name: 'locorum',
|
||||
path: '/locorum',
|
||||
@@ -50,11 +50,11 @@ const routes = [
|
||||
path: '/operum',
|
||||
component: Operum
|
||||
},
|
||||
{
|
||||
name: 'operumItem',
|
||||
path: '/operum/:id',
|
||||
component: OperumItem
|
||||
},
|
||||
// {
|
||||
// name: 'operumItem',
|
||||
// path: '/operum/:id',
|
||||
// component: OperumItem
|
||||
// },
|
||||
{
|
||||
name: 'bibliographie',
|
||||
path: '/bibliographie',
|
||||
|
||||
Reference in New Issue
Block a user