Nuxt.js: Vuetify Data Table Unable to render

Created on 21 Nov 2017  路  5Comments  路  Source: nuxt/nuxt.js

Issue
Unable to render v-data-table due to error undefined object.
Suspected unable to get the data from items as props.

Error message:
ta option, or for class-based components, by initializing the property. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.

Version:
nuxt: 1.0.0-rc11
vuetify: 0.17.1

Code:
```

This bug report is available on Nuxt.js community (#c1920)
help-wanted pending-repro

Most helpful comment

@look416 @jakub-wisniewski Try using the scope attribute instead (replaced by slot-scope in 2.5.0+) but should work.

All 5 comments

I have this same error. I copied all the code from the page: https://vuetifyjs.com/components/data-tables

@look416 @jakub-wisniewski slot-scope in vuejs is new from 2.5.0 and up. My guess is that since 1.0.0-rc11 of Nuxt is running on vuejs ~2.4.3, it will not work. Dev branch of nuxt have upgraded to 2.5.x try that and see if it works.

@look416 @jakub-wisniewski Try using the scope attribute instead (replaced by slot-scope in 2.5.0+) but should work.

Thanks for helping with the issue.
@tforssander , how do I use the current dev branch, I tried with the github link, but when I am starting the server, it couldnt find dist/nuxt.
But using the scope attribute works for now.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

bimohxh picture bimohxh  路  3Comments

VincentLoy picture VincentLoy  路  3Comments

shyamchandranmec picture shyamchandranmec  路  3Comments

jaredreich picture jaredreich  路  3Comments

nassimbenkirane picture nassimbenkirane  路  3Comments