generated from enflujo/enflujo-plantilla-astro-procesador
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
108 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 0 additions & 41 deletions
41
aplicaciones/www/cuenco-unal/src/components/HelloWorld.vue
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
aplicaciones/www/cuenco-unal/src/components/ListasColectivos.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
20 changes: 10 additions & 10 deletions
20
aplicaciones/www/cuenco-unal/src/components/ListasPublicaciones.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
import './scss/estilos.scss' | ||
import './scss/estilos.scss'; | ||
|
||
import { createApp } from 'vue' | ||
import { createPinia } from 'pinia' | ||
import { createApp } from 'vue'; | ||
import { createPinia } from 'pinia'; | ||
|
||
import App from './App.vue' | ||
import router from './router' | ||
import App from './App.vue'; | ||
import router from './router'; | ||
|
||
const app = createApp(App) | ||
const app = createApp(App); | ||
|
||
app.use(createPinia()) | ||
app.use(router) | ||
app.use(createPinia()); | ||
app.use(router); | ||
|
||
app.mount('#app') | ||
app.mount('#app'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,33 @@ | ||
import { createRouter, createWebHistory } from 'vue-router' | ||
import Inicio from '@/views/VistaInicio.vue' | ||
import { createRouter, createWebHistory } from 'vue-router'; | ||
import Inicio from '@/views/VistaInicio.vue'; | ||
|
||
const router = createRouter({ | ||
history: createWebHistory(import.meta.env.BASE_URL), | ||
routes: [ | ||
{ | ||
path: '/', | ||
name: 'inicio', | ||
component: Inicio | ||
component: Inicio, | ||
}, | ||
{ | ||
path: '/colectivos-ambitos', | ||
name: 'colectivos-ambitos', | ||
// route level code-splitting | ||
// this generates a separate chunk (Colectivos.[hash].js) for this route | ||
// which is lazy-loaded when the route is visited. | ||
component: () => import('../views/VistaColectivos.vue') | ||
component: () => import('../views/VistaColectivos.vue'), | ||
}, | ||
{ | ||
path: '/publicaciones', | ||
name: 'publicaciones', | ||
component: () => import('../views/VistaPublicaciones.vue') | ||
component: () => import('../views/VistaPublicaciones.vue'), | ||
}, | ||
{ | ||
path: '/encuentros', | ||
name: 'encuentros', | ||
component: () => import('../views/VistaEncuentros.vue') | ||
} | ||
] | ||
}) | ||
component: () => import('../views/VistaEncuentros.vue'), | ||
}, | ||
], | ||
}); | ||
|
||
export default router | ||
export default router; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,12 @@ | ||
import { ref, computed } from 'vue' | ||
import { defineStore } from 'pinia' | ||
import { ref, computed } from 'vue'; | ||
import { defineStore } from 'pinia'; | ||
|
||
export const useCounterStore = defineStore('counter', () => { | ||
const count = ref(0) | ||
const doubleCount = computed(() => count.value * 2) | ||
const count = ref(0); | ||
const doubleCount = computed(() => count.value * 2); | ||
function increment() { | ||
count.value++ | ||
count.value++; | ||
} | ||
|
||
return { count, doubleCount, increment } | ||
}) | ||
return { count, doubleCount, increment }; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.