File tree 5 files changed +53
-5
lines changed
packages/vue-cli-plugin-vuetify-essentials/generator/template/src
5 files changed +53
-5
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
- <v-footer app >
3
- <!-- -->
2
+ <v-footer
3
+ app
4
+ inset
5
+ >
6
+ <div class =" text-center" >
7
+ Copyright © ; {{ date }}  ; <strong >Vuetify</strong >
8
+ </div >
4
9
</v-footer >
5
10
</template >
11
+
12
+ <script >
13
+ export default {
14
+ data : () => ({
15
+ date: (new Date ()).getFullYear ()
16
+ })
17
+ }
18
+ </script >
Original file line number Diff line number Diff line change 1
1
<template >
2
2
<v-content >
3
- <v-container fluid >
4
- <router-view />
5
- </v-container >
3
+ <router-view />
6
4
</v-content >
7
5
</template >
Original file line number Diff line number Diff line change
1
+ import Vue from 'vue'
2
+ import Router from 'vue-router'
3
+ import Home from './views/Home.vue'
4
+
5
+ Vue . use ( Router )
6
+
7
+ export default new Router ( {
8
+ mode : 'history' ,
9
+ base : process . env . BASE_URL ,
10
+ routes : [
11
+ {
12
+ path : '/' ,
13
+ name : 'home' ,
14
+ component : Home
15
+ }
16
+ ]
17
+ } )
Original file line number Diff line number Diff line change
1
+ <template >
2
+ <v-container
3
+ id =" home"
4
+ class =" fill-height"
5
+ tag =" section"
6
+ >
7
+ <v-row
8
+ class =" fill-height"
9
+ align =" center"
10
+ >
11
+ <v-img
12
+ :src =" require('@/assets/vuetify.svg')"
13
+ alt =" Vuetify logo"
14
+ contain
15
+ height =" 400"
16
+ />
17
+ </v-row >
18
+ </v-container >
19
+ </template >
You can’t perform that action at this time.
0 commit comments