diff --git a/src/App.vue b/src/App.vue index 139b475..a80cac9 100644 --- a/src/App.vue +++ b/src/App.vue @@ -9,9 +9,13 @@ + @@ -16,6 +32,3 @@ } - diff --git a/src/router/index.js b/src/router/index.js index 8fa89ff..ec883aa 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -1,8 +1,8 @@ import Vue from 'vue' import VueRouter from 'vue-router' import Home from '../views/Home.vue' -import Warning from '../views/Warning' -import Questionnaire from "@/views/Questionnaire"; +import Warning from '../views/Warning.vue' +import Questionnaire from "@/views/Questionnaire.vue"; Vue.use(VueRouter) @@ -18,7 +18,7 @@ const routes = [ component: Warning }, { - path: '/questionmaire', + path: '/questionnaire', name: 'Fragebogen', component: Questionnaire } diff --git a/src/store/index.js b/src/store/index.js index 650df02..356dfc8 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -8,7 +8,7 @@ export default new Vuex.Store({ currentQuestion: 0, answers: [], questions: [{ - question: "Test", + question: "Mit wie vielen Menschen haben Sie täglich Kontakt?", answers: ["Answer 1", "Answer 2", "Answer 3"] }] }, diff --git a/src/views/Home.vue b/src/views/Home.vue index ba47046..f7a2056 100644 --- a/src/views/Home.vue +++ b/src/views/Home.vue @@ -1,12 +1,47 @@ + + @@ -21,12 +56,3 @@ export default { } } - - diff --git a/src/views/Questionnaire.vue b/src/views/Questionnaire.vue index ab7c33a..3d40ca0 100644 --- a/src/views/Questionnaire.vue +++ b/src/views/Questionnaire.vue @@ -1,5 +1,5 @@