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.
Large day for Breeze and Jetstream as we speak! We shipped Inertia 1.0 help. Thanks @jessarchercodes and @reinink! 🛳️
As well as, @fotrino contributed full darkish mode help to Jetstream! 🌝
Give it a attempt! pic.twitter.com/XZYsILTZ3j
— Taylor Otwell 🪐 (@taylorotwell) January 17, 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.