-
Notifications
You must be signed in to change notification settings - Fork 46
fix: support asset importing (ssr) #7
Comments
This comment has been minimized.
This comment has been minimized.
most of issues resolved with latest version of vite-plugin-vue. But URL generated by SSR is 404. (PR to track: #39) |
same error, still not working... nuxt: 2.15.2
|
Any status on this? I'd love to jump on the Vite train but the inability to use assets from the static directory is a showstopper. I'm surprised the content module is marked as working with Vite as its assets are basically required to be served from the static directory. |
Just ran into this as well. Any updates here? |
Same issue here, running on Nuxt Vite 0.0.37. For workarounds, I guess using third-party CDN would work. |
@productfrontenddeveloper Would you please make a reproduction or share index.vue? |
|
@pi0 I see you merged a PR to disable SSR in development. Won't that introduce a lot of gotchas if the dev environment does not support SSR? |
Yes, you have to be careful about SSR compatibility during development. Due to issues like this and others mentioned in #139, disabling allows having a more stable experience of vite. Hopefully, we can turn SSR back to enabled soon :) |
when fixed :( |
import like this with @ |
template:
The text was updated successfully, but these errors were encountered: