-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathApp.vue
51 lines (48 loc) · 911 Bytes
/
App.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<template>
<v-app>
<AppBar />
<v-container grid-list-lg>
<v-layout wrap>
<v-flex xs12 style="position: relative">
<Tool />
<DiceArea />
</v-flex>
<v-flex xs12>
<Log />
</v-flex>
<v-flex xs12>
<Tips />
</v-flex>
</v-layout>
</v-container>
</v-app>
</template>
<script lang="ts">
import Vue from "vue";
import Component from "vue-class-component";
import AppBar from "./AppBar.vue";
import Log from "./Log.vue";
import Tool from "./Tool.vue";
import Tips from "./Tips.vue";
import DiceArea from "./DiceArea.vue";
@Component({
components: {
AppBar,
Tool,
Log,
DiceArea,
Tips
}
})
export default class App extends Vue {
mounted() {
this.$store.dispatch("initialize");
this.$ga.page("/");
}
}
</script>
<style lang="scss">
h1 {
text-align: center;
}
</style>