-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
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
failed to load module for ssr #3087
Comments
This may be fixed by #2934 🤔 |
underfin
added a commit
that referenced
this issue
Apr 27, 2021
9 tasks
underfin
added a commit
that referenced
this issue
May 1, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
when I using dynamic import like this:
I got an error:
Error: failed to load module for ssr: ../pages/index.vue
but it can work like this:
Reproduction
https://github.com/dongnaebi/vite-ssr-repro
System Info
Output of
npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers
:Used package manager: npm
Logs
Before submitting the issue, please make sure you do the following
The text was updated successfully, but these errors were encountered: