Skip to content

Commit 1914707

Browse files
committed
Add a note for updates
1 parent e5f584f commit 1914707

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,18 @@ composer require codebarista/laravel-echarts
2121
php artisan codebarista:node-echarts install
2222
```
2323

24+
For updates it would be a good idea to add the command to the root composer.json.
25+
```json
26+
{
27+
"scripts": {
28+
"post-update-cmd": [
29+
"@php artisan vendor:publish --tag=laravel-assets --ansi --force",
30+
"@php artisan codebarista:node-echarts install"
31+
]
32+
},
33+
}
34+
```
35+
2436
### Publish config (optional)
2537

2638
```shell

0 commit comments

Comments
 (0)