This commit is contained in:
2020-08-02 22:09:49 -05:00
parent db6db44105
commit 3989df3e4e
5 changed files with 13 additions and 20 deletions
+3 -7
View File
@@ -1,9 +1,7 @@
<template>
<div id="app">
<router-view></router-view>
</div>
</template>
<script>
@@ -17,21 +15,19 @@ Vue.use(IconsPlugin);
export default {
name: "App",
};
</script>
<style>
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
font-family: "Avenir", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
padding: 0;
padding: 0;
margin: 0;
-webkit-box-sizing: border-box;
box-sizing: border-box;
box-sizing: border-box;
}
</style>
+4 -6
View File
@@ -12,16 +12,14 @@ import Form from "./form.vue";
import Footer from "./../view/footer.vue";
export default {
components: {
components: {
//HelloWorld
Header,
Form,
Footer
}
Footer,
},
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
<style scoped></style>
+1 -1
View File
@@ -1,5 +1,5 @@
const config = {
api: "http://localhost:3000"
api: "http://localhost:3000",
//api: "https://venus.acatlan.unam.mx/hackaton"
};
module.exports = config;
+3 -3
View File
@@ -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,
});
+2 -3
View File
@@ -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" },
];