Aggiunta la Autenticazione con x-auth
This commit is contained in:
@@ -3,7 +3,7 @@ import VueRouter from 'vue-router'
|
||||
|
||||
import routes from './routes'
|
||||
|
||||
Vue.use(VueRouter);
|
||||
Vue.use(VueRouter)
|
||||
|
||||
/*
|
||||
* If not building with SSR mode, you can
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
|
||||
import VueI18n from 'vue-i18n';
|
||||
import Vue from 'vue'
|
||||
Vue.use(VueI18n);
|
||||
@@ -10,9 +9,7 @@ function load (component) {
|
||||
|
||||
const routes = [
|
||||
{ path: '/', component: () => import('pages/Index.vue') },
|
||||
{ path: '/prec', component: load('views/dashboard/one/dashboard'), meta: { name: 'Dashboard One' } },
|
||||
{ path: '/signup', component: load('views/login/signup'), meta: { name: 'Registration' } },
|
||||
{ path: '/signin', component: load('views/login/signin'), meta: { name: 'Login' } },
|
||||
{ path: '/login', component: load('views/login/login'), meta: { name: 'Login' } },
|
||||
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user