construido para produccion #2
+3
-7
@@ -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>
|
||||
|
||||
@@ -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,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
@@ -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
@@ -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" },
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user