[READ-ONLY] Mirror of https://github.com/danielroe/nuxt-typed-vuex-vue-example.
nuxt-typed-vuex-vue-example.now.sh
668 B
33 lines
1<template>
2 <div id="app">
3 <img alt="Vue logo" src="./assets/logo.png">
4 <HelloWorld msg="Welcome to Your Vue.js + TypeScript App"/>
5 </div>
6</template>
7
8<script lang="ts">
9import { Component, Vue } from 'vue-property-decorator';
10import HelloWorld from './components/HelloWorld.vue';
11
12@Component({
13 components: {
14 HelloWorld,
15 },
16})
17export default class App extends Vue {
18 mounted() {
19 this.$accessor.resetEmail();
20 }
21}
22</script>
23
24<style>
25#app {
26 font-family: 'Avenir', Helvetica, Arial, sans-serif;
27 -webkit-font-smoothing: antialiased;
28 -moz-osx-font-smoothing: grayscale;
29 text-align: center;
30 color: #2c3e50;
31 margin-top: 60px;
32}
33</style>