Thursday, April 25, 2024
HomePHPJetstream and Breeze Up to date to Inertia v1.0 + Darkish Mode...

Jetstream and Breeze Up to date to Inertia v1.0 + Darkish Mode for Jetstream


The Laravel workforce launched new variations of Laravel Jetstream and Breeze through which each starter kits have been upgraded to Inertia v1.0. As well as, each now have Laravel 10 help to start out testing and put together the way in which for the overall launch on February seventh, 2023.

This week’s launch additionally included full darkish mode help for Laravel Jetstream because of Facundo Otrino.

Inertia v1.0

Laravel Jetstream has help for the Livewire stack in addition to the Vue Inertia stack. New Jetstream functions utilizing the Vue Inertia stack will set up Inertia v1.0.

Additionally, Laravel Breeze—which has a Vue and React stack—acquired upgrades to Inertia v1.0 for every respective stack.

Because of Jess Archer and Jonathan Reinink for making Inertia v1.0 prepared to make use of in Jetstream and Breeze!

If in case you have an current Breeze or Jetstream app, I counsel following the Inertia improve information and the Inertia v1 pull request to your respective stack:

Jetstream darkish mode

Facundo Otrino contributed opt-in darkish mode help for Laravel Jetstream.

If you wish to allow darkish mode when creating a brand new Jetstream utility, you need to use the --dark flag:

php artisan jetstream:set up {stack} --dark

In the event you plan to make use of the Livewire stack with out darkish mode, bear in mind that the elements shall be revealed throughout set up to strip darkish courses from them:

Following the earlier talked about PR, the darkish mode courses shall be stripped until darkish mode is enabled. When putting in livewire stack with out darkish mode, the elements shall be revealed to be able to strip the darkish courses from them.

To see extra side-by-side comparisons of the sunshine vs. darkish mode UI in Jetstream, view Pull Request #1209.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments