Open alphaolomi opened 2 years ago
We're going to make a site template that uses Vite but I just want to clarify that there's nothing stopping you from using Vite with Jigsaw right now, you can already get rid of Mix, swap it out for Vite, or use any other build tool you want.
Hi, even though one can replace mix with vite themselves, I am wondering if there is any plan to do this enhancement officially ? If you are open to a pull request, I am happy to work on it but wanted to double check.
Anyone got a guide to move to vite? Can't seem to get it to work myself.
Hi, although there's no official way about site template with Vite and Jigsaw, I make the steps to replace Laravel Mix with Vite in Jigsaw's project in this GitHub discussion: https://github.com/tighten/jigsaw/discussions/714. Have fun to try! Hope it helps for the future.
As the the official Vite integration has been shipped, on initial thoughts Jigsaw can utilize Vite for working with frontend assets
See: Laravel Docs (Bundling Assets (Vite))