diff --git a/src/router.js b/src/router.js index 9d40487..16916d2 100644 --- a/src/router.js +++ b/src/router.js @@ -3,6 +3,7 @@ import Boxes from './views/Boxes'; import Files from './views/Files'; import Events from './views/Events'; import Error from './views/Error'; +import HowTo from './views/HowTo'; import VueRouter from 'vue-router'; import Vue from 'vue'; @@ -12,7 +13,7 @@ Vue.use(VueRouter); const routes = [ { path: '/', redirect: '/36C3/items' }, - { path: '/howto', component: Error}, + { 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}, @@ -27,4 +28,4 @@ const router = new VueRouter({ routes }); -export default router; \ No newline at end of file +export default router; diff --git a/src/views/Error.vue b/src/views/Error.vue index 4293516..ad1e07d 100644 --- a/src/views/Error.vue +++ b/src/views/Error.vue @@ -4,10 +4,10 @@ \ No newline at end of file + diff --git a/src/views/HowTo.vue b/src/views/HowTo.vue new file mode 100644 index 0000000..9807f24 --- /dev/null +++ b/src/views/HowTo.vue @@ -0,0 +1,51 @@ + + + + +