configuracion inicial del Front / Header, footer

This commit is contained in:
KIKIN
2020-09-17 18:55:11 -05:00
parent b4bd19cda9
commit f1420a2865
16 changed files with 454 additions and 163 deletions
+25
View File
@@ -0,0 +1,25 @@
import Vue from 'vue'
import VueRouter from 'vue-router'
import Home from './view/Home.vue'
const routes = [
{
path: '/',
name: 'root',
redirect: 'home'
},
{
path: '/home',
component: Home,
name: 'home'
},
]
Vue.use(VueRouter)
/* Produccción */
// const router = new VueRouter({mode: 'history', routes})
/* Pruebas */
const router = new VueRouter({ routes })
export default router;