You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I try to use it with Symfony 6.4.2 and with AssetMapper 6.4.2 component who manage JS/CSS files with an importmap HTML script tag.
To add this feature in my importmap.php I run : php bin/console importmap:require notyf
This command search on https://cdn.jsdelivr.net any package who match and download the package.
It works well, I have the notyf in my HTML but no CSS to view the toast on my screen 😄
If the "style" attribute is defined in the package.json, it download the style file automatically.
Without this attribute, I have to manually run : php bin/console importmap:require notyf/notyf.min.css
to add the css file in my vendor.
Hello !
Thanks for this feature !
I try to use it with Symfony 6.4.2 and with AssetMapper 6.4.2 component who manage JS/CSS files with an importmap HTML script tag.
To add this feature in my importmap.php I run :
php bin/console importmap:require notyf
This command search on https://cdn.jsdelivr.net any package who match and download the package.
It works well, I have the notyf in my HTML but no CSS to view the toast on my screen 😄
If the "style" attribute is defined in the package.json, it download the style file automatically.
Without this attribute, I have to manually run :
php bin/console importmap:require notyf/notyf.min.css
to add the css file in my vendor.
You can see more in official Symfony documentation here : https://symfony.com/doc/current/frontend/asset_mapper.html#handling-3rd-party-css
Sorry if my english is not perfect !
Thanks, have a nice day !
The text was updated successfully, but these errors were encountered: