baseui/src/app.vue

29 lines
540 B
Vue
Raw Normal View History

2017-08-24 13:23:03 +02:00
<template>
<div class="App">
<h1>MyApp</h1>
<navigation :items="navigationItems"></navigation>
<transition name="component-fade" mode="out-in">
<router-view></router-view>
</transition>
</div>
</template>
<script>
import Navigation from './components/navigation.vue';
export default {
name: "App",
components: {
Navigation
},
data() {
return {
2017-08-29 15:51:50 +02:00
navigationItems: this.$store.state.navigation
2017-08-24 13:23:03 +02:00
}
},
created() {
}
}
</script>