Replies: 1 comment
-
|
In fact, that is enough! The problem was that I was loading fontawesome free from importmap, and I guess that interfered with my pro icons |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I love being able to deploy front-end assets without a build system, Symfony's AssetMapper is my favorite new feature of the more recent release.
Everything works fine with fontawesome free, but I'm not sure how to use it with my pro subscription. AssetMapper works using jsdelivr, so obviously that's not a solution.
Simply adding the js and css isn't enough, and doesn't feel right away:
{% block javascripts %} {{ parent() }} <script src="https://kit.fontawesome.com/821a06d4ef.js" crossorigin="anonymous"></script> {{ importmap('app') }} {% endblock %} {% block stylesheets %} <link rel="stylesheet" href="https://kit.fontawesome.com/821a06d4ef.css" crossorigin="anonymous"> {{ parent() }} {% endblock %}What's a solution that doesn't involve yarn/npm?
Beta Was this translation helpful? Give feedback.
All reactions