Open jaimesemp opened 5 years ago
Try moving @nuxtjs/vuetify into buildModules instead of Modules, in your nuxt.config.js file. It looks like you had placed it there at some point and commented it out. Have you tried that before and had the same bug?
@jaimesemp I cloned your project, put @nuxtjs/vuetify
and did nuxt build
+ nuxt start
and it works.
Nuxt generate shouldn't change anything.
Thanks a lot to both of you for your answers. See my responses bellow
Try moving @nuxtjs/vuetify into buildModules instead of Modules, in your nuxt.config.js file. It looks like you had placed it there at some point and commented it out. Have you tried that before and had the same bug?
Yes, I tried both approaches, same result.
@jaimesemp I cloned your project, put
@nuxtjs/vuetify
and didnuxt build
+nuxt start
and it works. Nuxt generate shouldn't change anything.
Yes, nuxt build
works (in fact finally I was able to upload using this approach: I changed mode to 'spa', built it and was able to upload working properly).
But nuxt generate
produces the results commented (check it here):
@jaimesemp Sounds like a Nuxt issue and not something around Vuetify module itself, did you have been able to try again with updated dependencies (vuetify updates ?)
You can try the V2 Alpha of the module https://github.com/nuxt-community/vuetify-module/releases/tag/v2.0.0-alpha.0
@jaimesemp Any update ?
In fact it could be related to https://github.com/nuxt-community/vuetify-module/issues/208 issue, as static generator uses SSR.
See my last comment about https://github.com/kevinmarrec/nuxt-css-issue
Module version "@nuxtjs/vuetify": "1.8.3", "nuxt": "2.9.2",
Describe the bug I am using vuetify with the google-keep predefined layout (https://github.com/vuetifyjs/vuetify/blob/master/packages/docs/src/examples/layouts/google-keep.vue).
On
everything works properly, but when I run
and upload the files to a static hosting, the site is broken: for example, v-select doesn't work, and the labels of input box are not styled properly
They work as long as I program inside of the layout file (i.e. layouts/google-keep.vue).
But if I programa from the page (i.e page/index.vue) same code does not work properly.
See a real example here:
https://vuetify-poc.s3-eu-west-1.amazonaws.com/index.html
Repo: https://gitlab.com/jaimerockandroll/nuxt-vuetify-poc
To Reproduce
Steps to reproduce the behavior:
Expected behavior The bottom section should behave and look exactly like the upper section.
Screenshots