make indentation consistent
This commit is contained in:
parent
d52575aa42
commit
9f63414ba2
27 changed files with 858 additions and 804 deletions
|
@ -8,24 +8,23 @@ import VueRouter from 'vue-router';
|
|||
import Vue from 'vue';
|
||||
|
||||
|
||||
|
||||
Vue.use(VueRouter);
|
||||
|
||||
const routes = [
|
||||
{ path: '/', redirect: '/Camp23/items' },
|
||||
{ path: '/howto', name: 'howto', component: HowTo},
|
||||
{ path: '/admin/files', name: 'files', component: Files},
|
||||
{ path: '/admin/events', name: 'events', component: Events},
|
||||
{ path: '/:event/boxes', name: 'boxes', component: Boxes},
|
||||
{ path: '/:event/items', name: 'items', component: Items},
|
||||
{ path: '/:event/box/:uid', name: 'boxes', component: Boxes},
|
||||
{ path: '/:event/item/:uid', name: 'items', component: Items},
|
||||
{ path: '*', component: Error},
|
||||
{path: '/', redirect: '/Camp23/items'},
|
||||
{path: '/howto', name: 'howto', component: HowTo},
|
||||
{path: '/admin/files', name: 'files', component: Files},
|
||||
{path: '/admin/events', name: 'events', component: Events},
|
||||
{path: '/:event/boxes', name: 'boxes', component: Boxes},
|
||||
{path: '/:event/items', name: 'items', component: Items},
|
||||
{path: '/:event/box/:uid', name: 'boxes', component: Boxes},
|
||||
{path: '/:event/item/:uid', name: 'items', component: Items},
|
||||
{path: '*', component: Error},
|
||||
];
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
routes
|
||||
mode: 'history',
|
||||
routes
|
||||
});
|
||||
|
||||
export default router;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue