comptes/src/App.vue

32 lines
438 B
Vue

<template>
<div id="app">
<navbar></navbar>
<div id="content">
<router-view/>
</div>
</div>
</template>
<script>
import navbar from './components/navbar'
export default {
name: 'app',
components: {
'navbar': navbar
},
mounted: function () {
this.$store.dispatch('config/load')
this.$store.dispatch('datas/load_csvs')
}
}
</script>
<style>
#app {
}
#content {
padding: 5rem;
}
</style>