File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -157,9 +157,6 @@ php artisan vendor:publish --tag=color-scheme-2-states-js
157157
158158That will copy the scripts to ` resources/js/color-scheme-switch-two-states/[init-script.js, switch-script.js] ` .
159159
160- ` init-script.js ` - initializes the theme based on the user's previous choice stored in ` localStorage ` .
161- ` switch-script.js ` - a function to toggle between light and dark themes by hitting a selected KEY and saves the choice in ` localStorage ` .
162-
163160** Step 2** : Register the scripts in your ` AppServiceProvider ` :
164161
165162``` php
@@ -238,7 +235,7 @@ php artisan vendor:publish --tag=color-scheme-2-states-js-tests
238235php artisan vendor:publish --tag=color-scheme-3-states-js-tests
239236```
240237
241- You can also publish JS code with test files at once:
238+ You can also publish JS scripts, JS test files and views at once:
242239
243240``` bash
244241php artisan vendor:publish --tag=color-scheme-2-states-all
You can’t perform that action at this time.
0 commit comments