Fix linter errors; add domain; add unit test support

This commit is contained in:
Niels Kooiman
2019-08-14 10:13:49 +02:00
parent 6f70ba29c9
commit 1b6fa67294
21 changed files with 628 additions and 29 deletions

View File

@@ -1,23 +1,23 @@
import Vue from 'vue';
import Router from 'vue-router';
import Home from './views/Home.vue';
import Vue from "vue";
import Router from "vue-router";
import Home from "./views/Home.vue";
Vue.use(Router);
export default new Router({
routes: [
{
path: '/',
name: 'home',
path: "/",
name: "home",
component: Home,
},
{
path: '/about',
name: 'about',
path: "/about",
name: "about",
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () => import(/* webpackChunkName: "about" */ './views/About.vue'),
component: () => import(/* webpackChunkName: "about" */ "./views/About.vue"),
},
],
});