29 lines
396 B
Vue
29 lines
396 B
Vue
|
<script setup>
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<router-view></router-view>
|
||
|
<!-- TODO UI für Freunde liste, add, remove -->
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
|
||
|
|
||
|
import {mapMutations} from 'vuex';
|
||
|
import store from '@/store';
|
||
|
|
||
|
export default {
|
||
|
name: 'App',
|
||
|
methods: {
|
||
|
...mapMutations(['init'])
|
||
|
},
|
||
|
beforeCreate () {
|
||
|
store.commit('init')
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style scoped>
|
||
|
|
||
|
</style>
|