Skip to content

Support updating icons and @pure directive

Latest
Compare
Choose a tag to compare
@mauritskorse mauritskorse released this 02 Sep 11:19
· 0 commits to main since this release

Since Flux v2.2.6 there is support for the upcoming @pure directive for Blaze. To allow all your currently built icons to have this @pure directive automatically added, an update command has been introduced. This update command will also check for updates on your vendor packages. The @pure directive will only be included in case you have Flux version 2.2.6 or higher. Also newly built icons will receive the @pure directive.

You can simply run:

php artisan flux-icons:update

If you pass the vendors using the --vendor option, only the package of that vendor and its built icons will be updated.

Caution

Note that the update command will overwrite all the icons in /resources/views/flux/icon/{vendor}.

Last feature for v1

This will be the last feature added to the v1 branch. Bugs will still be addressed.
A v2 is being worked on and will have quite some rewriting and refactoring. This will allow support for more different icons and variants.