souvenir/src/App.vue

30 lines
480 B
Vue
Raw Normal View History

2019-03-08 22:17:59 +00:00
<template>
2019-03-09 02:04:31 +00:00
<div class="layout">
2019-03-09 21:54:07 +00:00
<welcome-screen v-if="!welcomed"/>
<capture-screen v-else/>
2019-03-08 22:17:59 +00:00
</div>
</template>
<script>
2019-03-09 02:04:31 +00:00
import welcomeScreen from '@/views/welcome'
2019-03-09 21:54:07 +00:00
import captureScreen from '@/views/capture'
import { mapState } from 'vuex'
2019-03-08 22:17:59 +00:00
export default {
2019-03-09 02:04:31 +00:00
name: 'souvenir',
components: {
2019-03-09 21:54:07 +00:00
welcomeScreen,
captureScreen
},
computed: {
...mapState([
'welcomed'
])
2019-03-09 02:04:31 +00:00
}
2019-03-08 22:17:59 +00:00
}
</script>
2019-03-09 01:02:18 +00:00
<style src="@/assets/css/style.css" lang="css"></style>