Skip to content

Commit 04c9190

Browse files
committed
feat: update components for vuetify@v2 and other minor tweaks
1 parent 4285650 commit 04c9190

File tree

5 files changed

+53
-5
lines changed

5 files changed

+53
-5
lines changed
Loading
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
<template>
2-
<v-footer app>
3-
<!-- -->
2+
<v-footer
3+
app
4+
inset
5+
>
6+
<div class="text-center">
7+
Copyright &copy; {{ date }}&nbsp;<strong>Vuetify</strong>
8+
</div>
49
</v-footer>
510
</template>
11+
12+
<script>
13+
export default {
14+
data: () => ({
15+
date: (new Date()).getFullYear()
16+
})
17+
}
18+
</script>
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
<template>
22
<v-content>
3-
<v-container fluid>
4-
<router-view />
5-
</v-container>
3+
<router-view />
64
</v-content>
75
</template>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
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 numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
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>

0 commit comments

Comments
 (0)