add missing sourcecode

This commit is contained in:
thilo 2020-03-21 17:11:07 +01:00
parent 5ab26887d9
commit de12ea3f4b
4 changed files with 110 additions and 0 deletions

31
src/router/index.js Normal file
View file

@ -0,0 +1,31 @@
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";
Vue.use(VueRouter)
const routes = [
{
path: '/',
name: 'Home',
component: Home
},
{
path: '/warning',
name: 'Warnung',
component: Warning
},
{
path: '/questionmaire',
name: 'Fragebogen',
component: Questionnaire
}
]
const router = new VueRouter({
routes
})
export default router