Replies: 2 comments 6 replies
-
Using Vite in Nova isn't supported nor do we offer support to do so. AFAIK every piece of JS compiled with webpack would have to be migrated to Vite before you can compile custom tool using Vite |
Beta Was this translation helpful? Give feedback.
2 replies
-
Does nova 4 support vite to create custom tools now, @crynobone ? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm a total noob with Laravel Vite (this is my first project using it, I'm used to Laravel Mix). In Laravel Mix, you could add the following to the NovaServiceProvider:
Now, Vite doesn't even generate compiled files (to my knowledge) when in dev, and when you build for production, they generate dynamically named files (i.e. app.3341fc36.js). How do you make Nova aware of those assets ?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions