tornado-initiation-ui/layouts/default.vue

39 lines
747 B
Vue
Raw Normal View History

2020-10-09 03:15:45 +02:00
<template>
2020-10-12 19:41:52 +02:00
<div class="wrapper">
<Navbar />
<section class="main-content section">
<div class="container">
2020-10-09 03:15:45 +02:00
<nuxt />
</div>
</section>
2020-11-03 07:54:19 +01:00
<Footer />
2020-11-03 08:35:46 +01:00
<Loading />
<Notices />
2020-10-09 03:15:45 +02:00
</div>
</template>
<script>
2020-10-12 19:41:52 +02:00
import Navbar from '@/components/Navbar'
2020-11-03 07:54:19 +01:00
import Footer from '@/components/Footer'
2020-11-03 08:35:46 +01:00
import Loading from '@/components/Loading'
import Notices from '@/components/Notices'
2020-10-21 16:42:50 +02:00
import { mapActions } from 'vuex'
2020-10-12 19:41:52 +02:00
2020-10-09 03:15:45 +02:00
export default {
2020-10-12 19:41:52 +02:00
components: {
Navbar,
2020-11-03 07:54:19 +01:00
Footer,
2020-11-03 08:35:46 +01:00
Loading,
Notices,
2020-10-09 03:15:45 +02:00
},
2020-10-21 16:42:50 +02:00
mounted() {
this.initProvider()
2020-10-21 21:45:22 +02:00
this.fetchDeploymentStatus()
2020-10-21 16:42:50 +02:00
},
methods: {
...mapActions('provider', ['initProvider']),
2020-10-21 21:45:22 +02:00
...mapActions('steps', ['fetchDeploymentStatus']),
2020-10-21 16:42:50 +02:00
},
2020-10-09 03:15:45 +02:00
}
</script>