formato
This commit is contained in:
+3
-7
@@ -1,9 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
|
|
||||||
<div id="app">
|
<div id="app">
|
||||||
<router-view></router-view>
|
<router-view></router-view>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -17,21 +15,19 @@ Vue.use(IconsPlugin);
|
|||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "App",
|
name: "App",
|
||||||
|
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
||||||
#app {
|
#app {
|
||||||
font-family: 'Avenir', Helvetica, Arial, sans-serif;
|
font-family: "Avenir", Helvetica, Arial, sans-serif;
|
||||||
-webkit-font-smoothing: antialiased;
|
-webkit-font-smoothing: antialiased;
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
color: #2c3e50;
|
color: #2c3e50;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -12,16 +12,14 @@ import Form from "./form.vue";
|
|||||||
import Footer from "./../view/footer.vue";
|
import Footer from "./../view/footer.vue";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
components: {
|
components: {
|
||||||
//HelloWorld
|
//HelloWorld
|
||||||
Header,
|
Header,
|
||||||
Form,
|
Form,
|
||||||
Footer
|
Footer,
|
||||||
}
|
},
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
||||||
<style scoped>
|
<style scoped></style>
|
||||||
|
|
||||||
</style>
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
const config = {
|
const config = {
|
||||||
api: "http://localhost:3000"
|
api: "http://localhost:3000",
|
||||||
//api: "https://venus.acatlan.unam.mx/hackaton"
|
//api: "https://venus.acatlan.unam.mx/hackaton"
|
||||||
};
|
};
|
||||||
module.exports = config;
|
module.exports = config;
|
||||||
|
|||||||
+3
-3
@@ -14,11 +14,11 @@ Vue.use(BootstrapVue);
|
|||||||
Vue.config.productionTip = false;
|
Vue.config.productionTip = false;
|
||||||
Vue.use(VueRouter);
|
Vue.use(VueRouter);
|
||||||
const router = new VueRouter({
|
const router = new VueRouter({
|
||||||
routes
|
routes,
|
||||||
});
|
});
|
||||||
|
|
||||||
new Vue({
|
new Vue({
|
||||||
el: "#app",
|
el: "#app",
|
||||||
render: h => h(App),
|
render: (h) => h(App),
|
||||||
router
|
router,
|
||||||
});
|
});
|
||||||
|
|||||||
+2
-3
@@ -1,7 +1,6 @@
|
|||||||
import Form from "./components/usuario.vue";
|
import Form from "./components/usuario.vue";
|
||||||
import Login from "./components/login.vue";
|
import Login from "./components/login.vue";
|
||||||
export const routes = [
|
export const routes = [
|
||||||
{ path: "/", component: Form, name: "form" },
|
{ path: "/", component: Form, name: "form" },
|
||||||
{ path: "/panelAdmin", component: Login, name: "Login" },
|
{ path: "/panelAdmin", component: Login, name: "Login" },
|
||||||
|
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user