Skip to content

Commit

Permalink
Update README
Browse files Browse the repository at this point in the history
  • Loading branch information
Tofandel committed Mar 3, 2022
1 parent 38f3979 commit 23d6118
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ const Ziggy = {
export { Ziggy };
```

You can optionally create a webpack alias and a before script to make importing Ziggy's core source files easier:
You can optionally create a webpack alias and a before script to make generating and importing Ziggy's core source files easier:

```js
// webpack.mix.js
Expand Down Expand Up @@ -355,10 +355,10 @@ During development you may want to watch for changes in your routes and automati

`php artisan ziggy:generate ./resources/js/admin.js --group=admin ./resources/js/public.js --group=public --watch`

If you're using laravel mix for instance you could change your watch script in your package.json
`
"watch": "npm run routes -- --watch & mix watch",
`
If you're using laravel mix, for instance, you could change your watch script in your package.json to
```
"watch": "php artisan ziggy:generate --watch & mix watch",
```

#### Vue

Expand Down

0 comments on commit 23d6118

Please sign in to comment.