We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, it looks like nuxtServerInit ain't working when nuxt-vite and nuxt-typed-vuex are both in buildModules.
nuxtServerInit
nuxt-vite
nuxt-typed-vuex
buildModules
Here's a simple reproduction https://github.com/mirabledictu/test-vuex-vite
I have a simple console log there
export const actions = { nuxtServerInit(_context) { // This will not log if nuxt-typed-vuex is added to buildModules console.log('works') } }
and in my nuxt.config.js
buildModules: [ // https://go.nuxtjs.dev/typescript '@nuxt/typescript-build', 'nuxt-vite', 'nuxt-typed-vuex', ], vite: { ssr: true } }
When you try to run it, you will not get any logs from server.
Try to remove nuxt-vite or nuxt-typed-vuex in buildModules and it will work.
The text was updated successfully, but these errors were encountered:
How odd. Note that there are known issues with ssr in nuxt-vite.
Sorry, something went wrong.
Noted on that
not only ssr mode ,but also csr mode . Not work with vite, do you have any plan to fix this isuee
danielroe
No branches or pull requests
Hi, it looks like
nuxtServerInit
ain't working whennuxt-vite
andnuxt-typed-vuex
are both inbuildModules
.Here's a simple reproduction https://github.com/mirabledictu/test-vuex-vite
I have a simple console log there
and in my nuxt.config.js
When you try to run it, you will not get any logs from server.
Try to remove
nuxt-vite
ornuxt-typed-vuex
inbuildModules
and it will work.The text was updated successfully, but these errors were encountered: