Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cbl committed Jun 24, 2020
1 parent 70b6c97 commit bc31911
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,16 @@ You can build reusable blade components:
</x-style>
```

## Clear Cache
## Optimizing Styles

Blade styles share the same behavior as Views. As suggested in the
[View documentation](https://laravel.com/docs/7.x/views#optimizing-views), the
`style:cache` command can be added to your deployment workflow to ensure that
all styles are compiled and thus improve performance.

```shell
php artisan style:cache
```

You may use the `style:clear` command to clear the style cache:

Expand Down

0 comments on commit bc31911

Please sign in to comment.