diff --git a/README.md b/README.md index f342f62..a2b87f5 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,8 @@ # Nova Assets Changer -This package is for Nova 4 and swaps the resources from the `resources/Nova/Nova` folder with those in the `vendor/laravel/nova/resources/js` folder or use the `php artisan custom-assets:publish` command. +This package is for Nova 4 and swaps the resources from the `resources/Nova/Nova` folder with those in the `vendor/laravel/nova/resources/js` folder or use the `php artisan custom-assets:publish` +command. Then the assets are recompiled and published with the Force option. This package creates a backup of each file and prepare for changes @@ -21,30 +22,26 @@ Tip: You can replace `@php artisan nova:publish` with `@php artisan nova:custom- composer require norman-huth/nova-assets-changer --dev ``` -### Publish Nova Assets -``` -php artisan custom-assets:publish -``` - - -### Optional +### Running -Publish example resources +For the full process run this command: ``` -php artisan vendor:publish --provider="NormanHuth\NovaAssetsChanger\PackageServiceProvider" +php artisan nova:custom-assets ``` -### Running +### Optional -For the full process run this command: +#### Publish Nova Assets Via Command ``` -php artisan nova:custom-assets +php artisan custom-assets:publish ``` +Publish example resources + ``` -composer reinstall laravel/nova +php artisan vendor:publish --provider="NormanHuth\NovaAssetsChanger\PackageServiceProvider" ``` ## Notice