add router and View links

This commit is contained in:
2021-07-16 00:03:24 -06:00
parent 7514dc03da
commit 9253a84d7e
5 changed files with 84 additions and 57 deletions

View File

@ -8,56 +8,5 @@ export default new Router({
base: process.env.BASE_URL,
routes: [
// SYSTE-BUILDER-routes
{
path: '/about',
name: 'about',
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ './views/About.vue')
},
{
path: '/organizations',
name: 'organizations',
component: () => import(/* webpackChunkName: "organizations" */ './views/Organizations.vue')
},
{
path: '/organization/:orgId/:tab',
name: 'Organization',
component: () => import(/* webpackChunkName: "organizations" */ './views/Organization.vue')
},
{
path: '/users/:appId',
name: 'Users',
component: () => import(/* webpackChunkName: "organizations" */ './views/Users.vue')
},
{
path: '/access/:appId',
name: 'Access',
component: () => import(/* webpackChunkName: "organizations" */ './views/Access.vue')
},
{
path: '/bandit/:appId',
name: 'Bandit',
component: () => import(/* webpackChunkName: "organizations" */ './views/Bandit.vue')
},
{
path: '/switches/:appId',
name: 'Switches',
component: () => import(/* webpackChunkName: "organizations" */ './views/Switches.vue')
},
{
path: '/createOrg',
name: 'organization creation',
component: () => import(/* webpackChunkName: "organizations" */ './views/CreateOrganization.vue')
},
]
});