mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
.vue tweaks, part 2 (rendering app still buggy)
This commit is contained in:
1 parent
3458934f99
commit
16d6d34e73
11 files changed
+99
-36
No files matched your search
@@ -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,
|
||||
],
|
||||
}
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user