Skip to content

Commit

Permalink
Improves Installation Guide (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
crynobone authored Sep 7, 2022
1 parent a022bfb commit 9d5e0f3
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,18 @@ To install through composer, run the following command from terminal:
composer require "nova-kit/nova-packages-tool:^1.0"
```

Next, make sure your application's `composer.json` contains the following command under `script.post-autoload-dump`:

```json
{
"script" : {
"post-autoload-dump": [
"@php artisan vendor:publish --tag=laravel-assets --ansi --force"
]
}
}
```

## Usages

First, you need to add webpack.external alias to `laravel-nova` and comment the existing reference to `vendor/laravel/nova/resources/js/mixins/js/packages.js` under `nova.mix.js`:
Expand Down

0 comments on commit 9d5e0f3

Please sign in to comment.