Actualizado Inicio.vue a Vue3

This commit is contained in:
Araozu 2020-07-23 21:38:10 -05:00
parent 41fa13f9c5
commit 6b977d3189

View File

@ -25,19 +25,27 @@ div.home
</template> </template>
<script lang="coffee"> <script lang="coffee">
import {computed} from "vue"
import {useStore} from "vuex"
import anio from "../components/Inicio/anio.vue" import anio from "../components/Inicio/anio.vue"
import vCheckBox from "../components/v-checkbox.vue" import vCheckBox from "../components/v-checkbox.vue"
import YAML from "yaml" import YAML from "yaml"
export default setup = =>
store = useStore()
horarioUsuario = computed (=> store.state.horarioUsuario)
datos = computed (=> store.state.datos)
{
horarioUsuario
datos
}
export default {
name: 'home' name: 'home'
components: {anio, vCheckBox} components: {anio, vCheckBox}
computed: setup
horarioUsuario: -> @$store.state.horarioUsuario }
datos: -> @$store.state.datos
# #
</script> </script>