tighten / jigsaw

Simple static sites with Laravel’s Blade.
https://jigsaw.tighten.com
MIT License
2.14k stars 182 forks source link

Add Vite template #640

Open alphaolomi opened 2 years ago

alphaolomi commented 2 years ago

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))

bakerkretzmar commented 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.

codegeek1001 commented 1 year ago

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.

benmcm1994 commented 7 months ago

Anyone got a guide to move to vite? Can't seem to get it to work myself.

kresnasatya commented 3 months ago

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.