Skip to content

Commit 6d7eee6

Browse files
committed
chore: README updated
1 parent 6dac74f commit 6d7eee6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,9 +157,6 @@ php artisan vendor:publish --tag=color-scheme-2-states-js
157157

158158
That 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
238235
php 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
244241
php artisan vendor:publish --tag=color-scheme-2-states-all

0 commit comments

Comments
 (0)