5.1.1
What's changed
- Add entry for bundled images
You can now use both the cupcake.png
and cupcake.svg
UserFrosting logo in your app. Simply require the image entry in any javascript entry (eg. : app.js
, page-foo.js
, etc).
require('@userfrosting/theme-adminlte/app/assets/cupcake');
Both image will be copied to public/assets/images/
when running Webpack. To include the images in your template :
<img src="{{ asset('assets/images/cupcake.svg') }}">
The path assets/images/cupcake.svg
refers to the path of the image in public/
, without the
Full Changelog: 5.1.0...5.1.1