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 />
@@ -42,10 +63,12 @@ import HelloWorld from './components/HelloWorld.vue';
42
63
43
64
export default Vue .extend ({
44
65
name: ' App' ,
66
+
45
67
<%_ if (!options.router) { _ % >
46
68
components : {
47
69
HelloWorld ,
48
70
},
71
+
49
72
< % _ } _%>
50
73
data : () => ({
51
74
//
0 commit comments