We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having configured the following in app/assets/config/manifest.js
app/assets/config/manifest.js
//= link_tree ../../../node_modules/@fortawesome/fontawesome-free/webfonts/
And precompiled with: rails assets:precompile The expected fonts (*.ttf files) should be copied to public/assets/
rails assets:precompile
The expected fonts (*.ttf files) are not copied to public/assets/
yarn add @fortawesome/fontawesome-free
The text was updated successfully, but these errors were encountered:
Is node_modules is your assets paths?
node_modules
Sorry, something went wrong.
Can you provide an example application that reproduce the issue?
FWIW I tried to reproduce this, but couldnt (Although I approached it slightly differently by importing the CSS into the application.js file)
https://github.com/KonnorRogers/fontawesome-free-repro-rails
Relevant file: https://github.com/KonnorRogers/fontawesome-free-repro-rails/blob/65b9b85ddd2b25ff4ddbd6e53d8acd79e5c147d7/app/javascript/application.js#L4-L5
^ Generated via:
rails new -j esbuild yarn add @fortawesome/fontawesome-free
EDIT: Got this to fail. Never called font-family
font-family
Update, I got the repo to fail. I never called font-family on a selector. Repo has been updated with failure.
No branches or pull requests
Expected behavior
Having configured the following in
app/assets/config/manifest.js
//= link_tree ../../../node_modules/@fortawesome/fontawesome-free/webfonts/
And precompiled with:
rails assets:precompile
The expected fonts (*.ttf files) should be copied to public/assets/
Actual behavior
The expected fonts (*.ttf files) are not copied to public/assets/
System configuration
Example App (Reproduction) -
yarn add @fortawesome/fontawesome-free
app/assets/config/manifest.js
to copy fonts when compiling assets//= link_tree ../../../node_modules/@fortawesome/fontawesome-free/webfonts/
rails assets:precompile
The text was updated successfully, but these errors were encountered: