Aggiunta la Autenticazione con x-auth

This commit is contained in:
paolo
2018-10-20 18:56:31 +02:00
parent 907d47f33c
commit 7d61b947ba
12 changed files with 120 additions and 337 deletions

View File

@@ -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

View File

@@ -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' } },
];