|
1 | 1 | <template>
|
2 | 2 | <v-app>
|
3 |
| - <v-app-bar app> |
4 |
| - <v-toolbar-title class="headline text-uppercase"> |
5 |
| - <span>Vuetify</span> |
6 |
| - <span class="font-weight-light">MATERIAL DESIGN</span> |
7 |
| - </v-toolbar-title> |
| 3 | + <v-app-bar |
| 4 | + app |
| 5 | + color="primary" |
| 6 | + dark |
| 7 | + > |
| 8 | + <div class="d-flex align-center"> |
| 9 | + <v-img |
| 10 | + alt="Vuetify Logo" |
| 11 | + class="shrink mr-2" |
| 12 | + contain |
| 13 | + src="https://cdn.vuetifyjs.com/images/logos/vuetify-logo-dark.png" |
| 14 | + transition="scale-transition" |
| 15 | + width="40" |
| 16 | + /> |
| 17 | + |
| 18 | + <v-img |
| 19 | + alt="Vuetify Name" |
| 20 | + class="shrink mt-1 hidden-sm-and-down" |
| 21 | + contain |
| 22 | + min-width="100" |
| 23 | + src="https://cdn.vuetifyjs.com/images/logos/vuetify-name-dark.png" |
| 24 | + width="100" |
| 25 | + /> |
| 26 | + </div> |
| 27 | + |
8 | 28 | <v-spacer></v-spacer>
|
| 29 | + |
9 | 30 | <v-btn
|
10 |
| - text |
11 | 31 | href="https://github.com/vuetifyjs/vuetify/releases/latest"
|
12 | 32 | target="_blank"
|
| 33 | + text |
13 | 34 | >
|
14 | 35 | <span class="mr-2">Latest Release</span>
|
15 |
| - <%_ if (options.iconFont === 'mdi') { _%> |
| 36 | + <%_ if (opts.iconFont === 'mdi') { _%> |
16 | 37 | <v-icon>mdi-open-in-new</v-icon>
|
17 |
| - <%_ } else if (options.iconFont === 'md') { _%> |
| 38 | + <%_ } else if (opts.iconFont === 'md') { _%> |
18 | 39 | <v-icon>open_in_new</v-icon>
|
19 |
| - <%_ } else if (options.iconFont === 'fa') { _%> |
| 40 | + <%_ } else if (opts.iconFont === 'fa') { _%> |
20 | 41 | <v-icon>fas fa-external-link-alt</v-icon>
|
21 |
| - <%_ } else if (options.iconFont === 'fa4') { _%> |
| 42 | + <%_ } else if (opts.iconFont === 'fa4') { _%> |
22 | 43 | <v-icon>fa-external-link</v-icon>
|
23 | 44 | <%_ } _%>
|
24 | 45 | </v-btn>
|
25 | 46 | </v-app-bar>
|
26 | 47 |
|
27 | 48 | <v-content>
|
28 |
| - <%_ if (options.router) { _%> |
| 49 | + <%_ if (opts.router) { _%> |
29 | 50 | <router-view/>
|
30 | 51 | <%_ } else { _%>
|
31 | 52 | <HelloWorld/>
|
|
35 | 56 | </template>
|
36 | 57 |
|
37 | 58 | <script>
|
38 |
| -<%_ if (!options.router) { _%> |
| 59 | +<%_ if (!opts.router) { _%> |
39 | 60 | import HelloWorld from './components/HelloWorld';
|
40 | 61 | <%_ } _%>
|
41 | 62 |
|
42 | 63 | export default {
|
43 | 64 | name: 'App',
|
44 |
| - <%_ if (!options.router) { _%> |
| 65 | + <%_ if (!opts.router) { _%> |
45 | 66 | components: {
|
46 | 67 | HelloWorld,
|
47 | 68 | },
|
|
0 commit comments