2017-09-29 18:12:00 +02:00
|
|
|
import Vue from 'vue';
|
|
|
|
import Router from 'vue-router';
|
2017-11-21 22:11:58 +01:00
|
|
|
|
|
|
|
import About from '@/components/About';
|
|
|
|
import Quests from '@/components/Quests';
|
2017-09-29 18:12:00 +02:00
|
|
|
|
|
|
|
Vue.use(Router);
|
|
|
|
|
|
|
|
export default new Router({
|
|
|
|
routes: [
|
|
|
|
{
|
|
|
|
path: '/',
|
2017-10-22 21:20:58 +02:00
|
|
|
name: 'Home',
|
2017-11-21 22:11:58 +01:00
|
|
|
component: Quests,
|
2017-09-29 18:12:00 +02:00
|
|
|
},
|
2017-10-22 21:20:58 +02:00
|
|
|
{
|
|
|
|
path: '/about',
|
|
|
|
name: 'About',
|
|
|
|
component: About,
|
|
|
|
},
|
2017-09-29 18:12:00 +02:00
|
|
|
],
|
|
|
|
});
|