From d463032a6a6f77564914818673d17a8f3500667f Mon Sep 17 00:00:00 2001 From: fotrino Date: Tue, 17 Jan 2023 10:02:13 -0300 Subject: [PATCH 1/3] Dark Mode Directive --- 2.x/installation.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/2.x/installation.md b/2.x/installation.md index 5e40ca2..675ded7 100644 --- a/2.x/installation.md +++ b/2.x/installation.md @@ -13,6 +13,8 @@ composer require laravel/jetstream After installing the Jetstream package, you may execute the `jetstream:install` Artisan command. This command accepts the name of the stack you prefer (`livewire` or `inertia`). In addition, you may use the `--teams` switch to enable team support. +If you would like to include "dark mode" support when scaffolding your application's frontend, simply provide the `--dark` directive when executing the `jetstream:install` command. + The `jetstream:install` command will also install a suite of "feature" tests that provide test coverage for the features provided by Jetstream. If you would like to use [Pest PHP](https://pestphp.com) for testing, you may use the `--pest` switch to install a Pest test suite instead of the default PHPUnit test suite. From f6c45661f6c8416113acc20334231e04d419e254 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 17 Jan 2023 08:58:03 -0600 Subject: [PATCH 2/3] Update installation.md --- 2.x/installation.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/2.x/installation.md b/2.x/installation.md index 675ded7..6962312 100644 --- a/2.x/installation.md +++ b/2.x/installation.md @@ -13,8 +13,6 @@ composer require laravel/jetstream After installing the Jetstream package, you may execute the `jetstream:install` Artisan command. This command accepts the name of the stack you prefer (`livewire` or `inertia`). In addition, you may use the `--teams` switch to enable team support. -If you would like to include "dark mode" support when scaffolding your application's frontend, simply provide the `--dark` directive when executing the `jetstream:install` command. - The `jetstream:install` command will also install a suite of "feature" tests that provide test coverage for the features provided by Jetstream. If you would like to use [Pest PHP](https://pestphp.com) for testing, you may use the `--pest` switch to install a Pest test suite instead of the default PHPUnit test suite. @@ -49,6 +47,14 @@ php artisan jetstream:install inertia --ssr You can read more about running the SSR server in the [Laravel Vite plugin](https://laravel.com/docs/vite#ssr) and [Inertia](https://inertiajs.com/server-side-rendering) documentation. +#### Dark Mode + +If you would like to include "dark mode" support when scaffolding your application's frontend, simply provide the `--dark` directive when executing the `jetstream:install` command: + +```bash +php artisan jetstream:install livewire --dark +``` + ### Finalizing The Installation After installing Jetstream, you should install and build your NPM dependencies and migrate your database: From dfc8572a1463ad07a26ab6ecbb703b8c39f732e0 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 17 Jan 2023 08:58:25 -0600 Subject: [PATCH 3/3] Update installation.md --- 2.x/installation.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2.x/installation.md b/2.x/installation.md index 6962312..dfb694f 100644 --- a/2.x/installation.md +++ b/2.x/installation.md @@ -49,7 +49,7 @@ You can read more about running the SSR server in the [Laravel Vite plugin](http #### Dark Mode -If you would like to include "dark mode" support when scaffolding your application's frontend, simply provide the `--dark` directive when executing the `jetstream:install` command: +If you would like to include "dark mode" support when scaffolding your application's frontend, provide the `--dark` directive when executing the `jetstream:install` command: ```bash php artisan jetstream:install livewire --dark