Merge pull request #435 from bratberg/master

Bump Nuxt and Vuetify versions in "with-vuetify"-example
This commit is contained in:
Sébastien Chopin 2017-03-24 23:41:35 +01:00 committed by GitHub
commit b790a26a7f
3 changed files with 4 additions and 6 deletions

View File

@ -2,5 +2,3 @@
https://nuxtjs.org/examples/with-vuetify<br> https://nuxtjs.org/examples/with-vuetify<br>
https://vuetifyjs.com/ https://vuetifyjs.com/
*NOTE: Some Vuetify components needs Vue v2.2.x (or later) to work properly (Nuxt currently uses v2.1.x)*

View File

@ -1,8 +1,8 @@
{ {
"name": "with-vuetify", "name": "with-vuetify",
"dependencies": { "dependencies": {
"nuxt": "latest", "nuxt": "0.10",
"vuetify": "^0.9.1" "vuetify": "0.9.4"
}, },
"scripts": { "scripts": {
"dev": "nuxt", "dev": "nuxt",

View File

@ -7,7 +7,7 @@
<main> <main>
<v-sidebar left fixed drawer v-model="sidebar"> <v-sidebar left fixed drawer v-model="sidebar">
<v-list> <v-list>
<v-list-item v-for="i in 3"> <v-list-item v-for="i in 3" :key="i">
<v-list-tile> <v-list-tile>
<v-list-tile-title>Item {{ i }}</v-list-tile-title> <v-list-tile-title>Item {{ i }}</v-list-tile-title>
</v-list-tile> </v-list-tile>
@ -30,7 +30,7 @@
<script> <script>
export default { export default {
data() { asyncData() {
return { return {
sidebar: false sidebar: false
} }