DEV Community

Discussion on: Using Vite with Inertia — Laravel, Vue & Tailwind

rrrrando profile image
Rando Õispuu

Great that more and more people are using Vite. If you want to get rid of some extra code then have look at my blade file

bertugkorucu profile image
Bertug Korucu Author • Edited

Good idea, but I wanted to have flexibility for running npm run prod and npm run hot simultaneously in my local. And I didn't want to have that logic in my blade. If you don't need much logic code, it's ideal to place it in blade indeed.