.vue tweaks, part 2 (rendering app still buggy)

This commit is contained in:
Roman committed 2020-06-13 21:51:04 +03:00
1 parent 3458934f99
commit 16d6d34e73
11 files changed
+99 -36

No files matched your search

+3 -5
View File
@@ -1,11 +1,9 @@
import Vue from 'vue'
import Router from 'vue-router'
import store from "../store";
import { whatsNew } from './routeguard'
// Route Guard
import * as guard from './routeguard'
Vue.use(Router)
Vue.use(Router);
const router = new Router({
routes: [
@@ -16,7 +14,7 @@ const router = new Router({
meta: {
routeguard: [
// guards in priority order; the first one to catch will trigger something
guard.whatsNew,
whatsNew,
],
}
},