Web M&M
https://mam.matfyz.cz
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
644 B
33 lines
644 B
import Vue from 'vue'
|
|
import Router from 'vue-router'
|
|
import TreeNodeRoot from '../components/TreeNodeRoot.vue'
|
|
|
|
Vue.use(Router)
|
|
|
|
export default new Router({
|
|
mode: 'history',
|
|
linkActiveClass: 'active',
|
|
routes: [{
|
|
path: '/temp/vue',
|
|
name: 'treenodedefault',
|
|
props: {'tnid': 23},
|
|
component: TreeNodeRoot
|
|
}, {
|
|
path: '/temp/vue/:tnid',
|
|
name: 'treenode',
|
|
props: true,
|
|
component: TreeNodeRoot
|
|
}, {
|
|
path: '/aktualni/zadani',
|
|
name: 'treenode_zadani',
|
|
props: {'tnid': 1655},
|
|
component: TreeNodeRoot
|
|
}, {
|
|
path: '/cislo/:cislo',
|
|
name: 'treenode_cislo',
|
|
props: {'tnsource':'inline'},
|
|
component: TreeNodeRoot
|
|
}
|
|
]
|
|
})
|
|
|
|
|