2023-05-10 21:28:55 +00:00
|
|
|
<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: {
|
2023-05-15 23:10:11 +00:00
|
|
|
...mapMutations(['init']),
|
2023-05-10 21:28:55 +00:00
|
|
|
},
|
|
|
|
beforeCreate () {
|
2023-05-15 23:10:11 +00:00
|
|
|
store.commit('load_local')
|
2023-05-10 21:28:55 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped>
|
|
|
|
|
|
|
|
</style>
|