|
41 | 41 | </v-container> |
42 | 42 | </template> |
43 | 43 |
|
| 44 | +<!-- |
44 | 45 | <script lang="ts"> |
45 | | -import Vue from 'vue' |
| 46 | +import { Component, Prop, Vue } from 'vue-property-decorator' |
46 | 47 |
|
47 | | -export default Vue.extend({ |
48 | | - name: 'HelloWorld', |
| 48 | +@Component |
| 49 | +export default class HelloWorld extends Vue { |
| 50 | + @Prop() private msg!: string; |
| 51 | +} |
| 52 | +</script> |
| 53 | +--> |
| 54 | + |
| 55 | +<script lang="ts"> |
| 56 | +import { Component, Vue } from 'vue-property-decorator' |
| 57 | +
|
| 58 | +@Component |
| 59 | +export default class HelloWorld extends Vue { |
| 60 | + private ecosystem: object = [ |
| 61 | + { |
| 62 | + text: 'vuetify-loader', |
| 63 | + href: 'https://github.com/vuetifyjs/vuetify-loader' |
| 64 | + }, |
| 65 | + { |
| 66 | + text: 'github', |
| 67 | + href: 'https://github.com/vuetifyjs/vuetify' |
| 68 | + }, |
| 69 | + { |
| 70 | + text: 'awesome-vuetify', |
| 71 | + href: 'https://github.com/vuetifyjs/awesome-vuetify' |
| 72 | + } |
| 73 | + ] |
| 74 | + private importantLinks = [ |
| 75 | + { |
| 76 | + text: 'Documentation', |
| 77 | + href: 'https://vuetifyjs.com' |
| 78 | + }, |
| 79 | + { |
| 80 | + text: 'Chat', |
| 81 | + href: 'https://community.vuetifyjs.com' |
| 82 | + }, |
| 83 | + { |
| 84 | + text: 'Made with Vuetify', |
| 85 | + href: 'https://madewithvuejs.com/vuetify' |
| 86 | + }, |
| 87 | + { |
| 88 | + text: 'Twitter', |
| 89 | + href: 'https://twitter.com/vuetifyjs' |
| 90 | + }, |
| 91 | + { |
| 92 | + text: 'Articles', |
| 93 | + href: 'https://medium.com/vuetify' |
| 94 | + } |
| 95 | + ] |
| 96 | + private whatsNext = [ |
| 97 | + { |
| 98 | + text: 'Explore components', |
| 99 | + href: 'https://vuetifyjs.com/components/api-explorer' |
| 100 | + }, |
| 101 | + { |
| 102 | + text: 'Select a layout', |
| 103 | + href: 'https://vuetifyjs.com/layout/pre-defined' |
| 104 | + }, |
| 105 | + { |
| 106 | + text: 'Frequently Asked Questions', |
| 107 | + href: 'https://vuetifyjs.com/getting-started/frequently-asked-questions' |
| 108 | + } |
| 109 | + ] |
49 | 110 |
|
50 | | - data: () => ({ |
51 | | - ecosystem: [ |
52 | | - { |
53 | | - text: 'vuetify-loader', |
54 | | - href: 'https://github.com/vuetifyjs/vuetify-loader' |
55 | | - }, |
56 | | - { |
57 | | - text: 'github', |
58 | | - href: 'https://github.com/vuetifyjs/vuetify' |
59 | | - }, |
60 | | - { |
61 | | - text: 'awesome-vuetify', |
62 | | - href: 'https://github.com/vuetifyjs/awesome-vuetify' |
63 | | - } |
64 | | - ], |
65 | | - importantLinks: [ |
66 | | - { |
67 | | - text: 'Documentation', |
68 | | - href: 'https://vuetifyjs.com' |
69 | | - }, |
70 | | - { |
71 | | - text: 'Chat', |
72 | | - href: 'https://community.vuetifyjs.com' |
73 | | - }, |
74 | | - { |
75 | | - text: 'Made with Vuetify', |
76 | | - href: 'https://madewithvuejs.com/vuetify' |
77 | | - }, |
78 | | - { |
79 | | - text: 'Twitter', |
80 | | - href: 'https://twitter.com/vuetifyjs' |
81 | | - }, |
82 | | - { |
83 | | - text: 'Articles', |
84 | | - href: 'https://medium.com/vuetify' |
85 | | - } |
86 | | - ], |
87 | | - whatsNext: [ |
88 | | - { |
89 | | - text: 'Explore components', |
90 | | - href: 'https://vuetifyjs.com/components/api-explorer' |
91 | | - }, |
92 | | - { |
93 | | - text: 'Select a layout', |
94 | | - href: 'https://vuetifyjs.com/layout/pre-defined' |
95 | | - }, |
96 | | - { |
97 | | - text: 'Frequently Asked Questions', |
98 | | - href: 'https://vuetifyjs.com/getting-started/frequently-asked-questions' |
99 | | - } |
100 | | - ] |
101 | | - }) |
102 | | -}) |
| 111 | + mounted () { |
| 112 | + } |
| 113 | +} |
103 | 114 | </script> |
0 commit comments