Skip to content

5.1.1

Compare
Choose a tag to compare
@lcharette lcharette released this 28 Apr 19:43
· 17 commits to 5.1 since this release
653a19d

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