From 3989df3e4e2e91170cca20ccfea7e78f956ab5f0 Mon Sep 17 00:00:00 2001 From: DanielRamirezGe Date: Sun, 2 Aug 2020 22:09:49 -0500 Subject: [PATCH] formato --- src/App.vue | 10 +++------- src/components/usuario.vue | 10 ++++------ src/config/config.js | 2 +- src/main.js | 6 +++--- src/routes.js | 5 ++--- 5 files changed, 13 insertions(+), 20 deletions(-) diff --git a/src/App.vue b/src/App.vue index 5eb343d..0332088 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,9 +1,7 @@ diff --git a/src/components/usuario.vue b/src/components/usuario.vue index f13ca6a..eaa2ad5 100644 --- a/src/components/usuario.vue +++ b/src/components/usuario.vue @@ -12,16 +12,14 @@ import Form from "./form.vue"; import Footer from "./../view/footer.vue"; export default { - components: { + components: { //HelloWorld Header, Form, - Footer -} + Footer, + }, }; - + diff --git a/src/config/config.js b/src/config/config.js index 11eae73..58c7b5d 100644 --- a/src/config/config.js +++ b/src/config/config.js @@ -1,5 +1,5 @@ const config = { - api: "http://localhost:3000" + api: "http://localhost:3000", //api: "https://venus.acatlan.unam.mx/hackaton" }; module.exports = config; diff --git a/src/main.js b/src/main.js index 19702c9..892dffb 100644 --- a/src/main.js +++ b/src/main.js @@ -14,11 +14,11 @@ Vue.use(BootstrapVue); Vue.config.productionTip = false; Vue.use(VueRouter); const router = new VueRouter({ - routes + routes, }); new Vue({ el: "#app", - render: h => h(App), - router + render: (h) => h(App), + router, }); diff --git a/src/routes.js b/src/routes.js index 919333e..8dc9217 100644 --- a/src/routes.js +++ b/src/routes.js @@ -1,7 +1,6 @@ import Form from "./components/usuario.vue"; import Login from "./components/login.vue"; export const routes = [ - { path: "/", component: Form, name: "form" }, - { path: "/panelAdmin", component: Login, name: "Login" }, - + { path: "/", component: Form, name: "form" }, + { path: "/panelAdmin", component: Login, name: "Login" }, ];