From 1476cacf4315fc576e7df2976cb2021a96bb73c6 Mon Sep 17 00:00:00 2001 From: alfredojl Date: Tue, 4 Aug 2020 14:40:58 -0500 Subject: [PATCH] Primer push alima --- src/routes.js | 17 +++++++++++------ src/views/AddEquip.vue | 15 +++++++++++++++ 2 files changed, 26 insertions(+), 6 deletions(-) create mode 100644 src/views/AddEquip.vue diff --git a/src/routes.js b/src/routes.js index e9107c0..22a9409 100644 --- a/src/routes.js +++ b/src/routes.js @@ -3,9 +3,9 @@ import VueRouter from 'vue-router' import Login from './views/Login.vue' import User from './views/User.vue' +import AddEquip from './views/AddEquip.vue' -const routes = [ - { +const routes = [{ path: '/login', component: Login, name: 'login' @@ -15,12 +15,17 @@ const routes = [ component: User, name: 'user' }, + { + path: '/addEquip', + component: AddEquip, + name: 'addEquip' + } ] Vue.use(VueRouter) -/* Produccción */ -// const router = new VueRouter({mode: 'history', routes}) -/* Pruebas */ -const router = new VueRouter({routes}) + /* Produccción */ + // const router = new VueRouter({mode: 'history', routes}) + /* Pruebas */ +const router = new VueRouter({ routes }) export default router \ No newline at end of file diff --git a/src/views/AddEquip.vue b/src/views/AddEquip.vue new file mode 100644 index 0000000..054a940 --- /dev/null +++ b/src/views/AddEquip.vue @@ -0,0 +1,15 @@ + + + + + \ No newline at end of file