forked from saikitanabe/vue-jsx-typescript-example
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
39 lines (28 loc) · 692 Bytes
/
App.tsx
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
import Vue from 'vue'
import Component from 'vue-class-component'
import { Prop } from 'vue-property-decorator'
import { Jumbotron } from './components/Jumbotron'
import { Navigation } from './components/Navigation'
import { A } from './components/A'
import './css/Normalize.css'
import 'milligram'
import './css/App.css'
@Component
export default class App extends Vue {
@Prop()
msg: string
// lifecycle hook
mounted() {
}
render() {
return (
<main id='vueapp' class='wrapper'>
<Navigation />
<Jumbotron />
<section class='container' id='get-started'>
<router-view></router-view>
</section>
</main>
)
}
}