Skip to content

Commit

Permalink
Update customizing-the-rendered-html.md (#3764)
Browse files Browse the repository at this point in the history
  • Loading branch information
A909M authored Jan 13, 2025
1 parent 63c6aed commit 7ee8bb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/responsive-images/customizing-the-rendered-html.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ weight: 3
Whenever you use a `$media` instance as output in a Blade view the medialibrary will generate a `img` tag with the necessary `src`, `srcset` and `alt` attributes. You can customize the rendered output by publishing the `views` with:

```bash
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="views"
php artisan vendor:publish --provider="Spatie\MediaLibrary\MediaLibraryServiceProvider" --tag="media-library-views"
```

The following files will be published in the `resources/views/vendor/media-library` directory:
Expand Down

0 comments on commit 7ee8bb7

Please sign in to comment.