37 lines
666 B
Vue
37 lines
666 B
Vue
<template>
|
|
<h1>Home</h1>
|
|
<section>
|
|
<h2> Mois </h2>
|
|
<create-month></create-month>
|
|
<months-list></months-list>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
import { mapGetters, mapActions } from 'vuex'
|
|
import MonthsList from '../components/MonthsUl.vue'
|
|
import CreateMonth from '../components/CreateMonth.vue'
|
|
export default {
|
|
name: 'home',
|
|
components: {
|
|
MonthsList: MonthsList,
|
|
CreateMonth: CreateMonth,
|
|
},
|
|
data () {
|
|
return {}
|
|
},
|
|
computed: {
|
|
...mapGetters({
|
|
state: "datas/count",
|
|
})
|
|
},
|
|
methods: {
|
|
...mapActions({
|
|
})
|
|
},
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
</style>
|