|
1 | 1 | <template> |
2 | | - <div class="hello"> |
3 | | - <h1>{{ msg }}</h1> |
4 | | - <p> |
5 | | - For a guide and recipes on how to configure / customize this project,<br> |
6 | | - check out the |
7 | | - <a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>. |
8 | | - </p> |
9 | | - <h3>Installed CLI Plugins</h3> |
10 | | - <ul> |
11 | | - <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li> |
12 | | - <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-typescript" target="_blank" rel="noopener">typescript</a></li> |
13 | | - <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-router" target="_blank" rel="noopener">router</a></li> |
14 | | - <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-vuex" target="_blank" rel="noopener">vuex</a></li> |
15 | | - <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li> |
16 | | - <li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-unit-jest" target="_blank" rel="noopener">unit-jest</a></li> |
17 | | - </ul> |
18 | | - <h3>Essential Links</h3> |
19 | | - <ul> |
20 | | - <li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li> |
21 | | - <li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li> |
22 | | - <li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li> |
23 | | - <li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li> |
24 | | - <li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li> |
25 | | - </ul> |
26 | | - <h3>Ecosystem</h3> |
27 | | - <ul> |
28 | | - <li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li> |
29 | | - <li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li> |
30 | | - <li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li> |
31 | | - <li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li> |
32 | | - <li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li> |
33 | | - </ul> |
34 | | - </div> |
| 2 | + <v-container> |
| 3 | + <v-layout text-center wrap> |
| 4 | + <v-flex xs12> |
| 5 | + <!--suppress HtmlUnknownTarget --> |
| 6 | + <v-img :src="require('../assets/logo.svg')" class="my-3" contain height="200"/> |
| 7 | + </v-flex> |
| 8 | + <v-flex mb-4> |
| 9 | + <h1 class="display-2 font-weight-bold mb-3">Welcome to Vuetify</h1> |
| 10 | + <p class="subheading font-weight-regular"> |
| 11 | + For help and collaboration with other Vuetify developers,<br> |
| 12 | + please join our online |
| 13 | + <a href="https://community.vuetifyjs.com" target="_blank">Discord Community</a> |
| 14 | + </p> |
| 15 | + </v-flex> |
| 16 | + <v-flex mb-5 xs12> |
| 17 | + <h2 class="headline font-weight-bold mb-3">What's next?</h2> |
| 18 | + <v-layout justify-center> |
| 19 | + <a v-for="(next, i) in whatsNext" :key="i" :href="next.href" class="subheading mx-3" target="_blank"> |
| 20 | + {{ next.text }} |
| 21 | + </a> |
| 22 | + </v-layout> |
| 23 | + </v-flex> |
| 24 | + <v-flex xs12 mb-5> |
| 25 | + <h2 class="headline font-weight-bold mb-3">Important Links</h2> |
| 26 | + <v-layout justify-center> |
| 27 | + <a v-for="(link, i) in importantLinks" :key="i" :href="link.href" class="subheading mx-3" target="_blank"> |
| 28 | + {{ link.text }} |
| 29 | + </a> |
| 30 | + </v-layout> |
| 31 | + </v-flex> |
| 32 | + <v-flex xs12 mb-5> |
| 33 | + <h2 class="headline font-weight-bold mb-3">Ecosystem</h2> |
| 34 | + <v-layout justify-center> |
| 35 | + <a v-for="(eco, i) in ecosystem" :key="i" :href="eco.href" class="subheading mx-3" target="_blank"> |
| 36 | + {{ eco.text }} |
| 37 | + </a> |
| 38 | + </v-layout> |
| 39 | + </v-flex> |
| 40 | + </v-layout> |
| 41 | + </v-container> |
35 | 42 | </template> |
36 | 43 |
|
37 | 44 | <script lang="ts"> |
38 | | -import { Component, Prop, Vue } from 'vue-property-decorator' |
| 45 | +import Vue from 'vue' |
39 | 46 |
|
40 | | -@Component |
41 | | -export default class HelloWorld extends Vue { |
42 | | - @Prop() private msg!: string; |
43 | | -} |
44 | | -</script> |
| 47 | +export default Vue.extend({ |
| 48 | + name: 'HelloWorld', |
45 | 49 |
|
46 | | -<!-- Add "scoped" attribute to limit CSS to this component only --> |
47 | | -<style scoped lang="scss"> |
48 | | -h3 { |
49 | | - margin: 40px 0 0; |
50 | | -} |
51 | | -ul { |
52 | | - list-style-type: none; |
53 | | - padding: 0; |
54 | | -} |
55 | | -li { |
56 | | - display: inline-block; |
57 | | - margin: 0 10px; |
58 | | -} |
59 | | -a { |
60 | | - color: #42b983; |
61 | | -} |
62 | | -</style> |
| 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 | +}) |
| 103 | +</script> |
0 commit comments