From b61a3d57766baac5534d4f1e4a5a3291b06909e4 Mon Sep 17 00:00:00 2001 From: jedi Date: Mon, 14 Aug 2023 15:42:26 +0200 Subject: [PATCH] hotfix /howto page --- src/router.js | 5 +++-- src/views/Error.vue | 4 ++-- src/views/HowTo.vue | 51 +++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+), 4 deletions(-) create mode 100644 src/views/HowTo.vue 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 @@ + + + + +