-
Notifications
You must be signed in to change notification settings - Fork 0
/
default.vue
35 lines (29 loc) · 679 Bytes
/
default.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<template>
<main class="moby-dick-lp-container">
<Header @getContent="getContent" />
<nuxt />
<Footer />
<Tab />
<BackgroundImage />
</main>
</template>
<script>
import Header from '~/components/structure/Header.vue';
import Footer from '~/components/structure/Footer.vue';
import Tab from '~/components/structure/Tab.vue';
import BackgroundImage from '~/components/images/BackgroundImage.vue';
export default {
components: {
Header,
Footer,
BackgroundImage,
Tab,
},
methods: {
// fire action to retrieve random paragraphs
getContent(e) {
this.$store.dispatch('getMultipleRandomAction');
},
},
};
</script>