5 Commits

Author SHA1 Message Date
MUHAMMAD QISTI AMALUDDIN BIN MOHD ROZAINI
7663a8ce4c Ignore Laravel compiled views for Vite (#6714)
* Ignore Laravel compiled views for Vite

Before testing, run php artisan cache:clear to clear old compiled views.

This issue only happens during local development when running npm run dev.
Laravel continuously recompiles Blade into PHP inside storage/framework/views (especially after Livewire re-renders), and these files are changed by Laravel itself, not by us.

Because of that, Vite thinks we modified a file and triggers a full reload—even though the change is purely internal framework logic. This makes the reload behavior unacceptable and noisy during development.

Since these compiled views belong to Laravel’s backend logic and not frontend assets, Vite does not need to watch them.

Ignoring storage/framework/views keeps Vite stable and prevents reloads caused by Laravel doing its own internal work.

* Vite ignore rule now in one clean line
2025-11-25 16:16:01 -06:00
Ngô Quốc Đạt
c6dcaf788c Upgrade to Tailwind CSS v4.0 (#6523)
* Upgrade to Tailwind CSS v4.0

* Upgrade to Tailwind CSS 4

* Upgrade to Tailwind CSS 4

* Upgrade to Tailwind CSS 4

* Upgrade to Tailwind CSS 4

* Upgrade to Tailwind CSS v4.0

* remove compatible styles

Co-authored-by: Julius Kiekbusch <contact@julius-kiekbusch.de>

* wip

---------

Co-authored-by: Julius Kiekbusch <contact@julius-kiekbusch.de>
2025-01-31 18:34:00 +01:00
Graham Campbell
ce62296fa9 [9.x] Don't need to ignore vite config file (#5953)
* Don't need to ignore vite config file

* Apply fixes from StyleCI

Co-authored-by: StyleCI Bot <bot@styleci.io>
2022-07-26 08:05:37 -05:00
Tim MacDonald
1fa6b7dc52 add default reloading to skeleton (#5927) 2022-07-01 13:41:47 -07:00
Jess Archer
86b4b1b656 [9.x] Vite (#5904)
* Use Vite

* Gitignore Vite build directory

* Use CSS entry points

* Update plugin

* Linting

* Update plugin
2022-06-22 13:07:47 -05:00