-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
Migrate App to Vite #2692
Comments
Might be related to auto imports? |
Had the same problems when trying to integrate Vite on its own. Vite in its current form cannot handle tilde sign '~' so i think you need to replace it with a regex somewhere in vite config. Let me see if I can find the issue |
as I currently don't have the time to do the all the heavy lifting here, maybe someone wants to help out! here are all the things you need to do for a successful migration
Currently there is no module support for handling gql files -> you would have to wrap all gql files as .ts files
my guess is that
my best guess: play around with optimizeDeps in vite config
possible solutions: hints:
|
Wow 💯, nicely written! |
There's a blocker with Vite migration. |
Is this still relevant? Are we using Vite or still Nitro stuff? |
Closing in favour |
Is your feature request related to a problem?
I would love to see Vite in the repo. To enable it
Nuxt Feature Flags
However, it shows a ton of errors
Describe the solution you would like
I would like to see Vite 🚀
Describe alternatives you have considered
I have tried this Nuxt Bridge with Webpack 4
Screeenshots
Ref
The text was updated successfully, but these errors were encountered: