Skip to content

Commit

Permalink
Merge pull request #10 from Muetze42/development
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
Muetze42 authored Jun 19, 2022
2 parents d4c83a0 + 69eee41 commit 1ddfa2f
Showing 1 changed file with 11 additions and 14 deletions.
25 changes: 11 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 1ddfa2f

Please sign in to comment.