Use icons locally as static assets #444
-
Help WantedI'm trying to run fomantic-ui with semantic-ui-vue and so far everything's working great. Fomantic CSS is downloaded from a CDN. I would like to run this locally. ProblemCurrently CSS is loaded via -
On loading the css locally, I see icons replaced with empty square and see the following errors on browser console -
I do not have these files locally. Where do I get them? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@mrcasablr If your using NPM you can install |
Beta Was this translation helpful? Give feedback.
-
Thank you! This works and convenient! |
Beta Was this translation helpful? Give feedback.
@mrcasablr If your using NPM you can install
fomantic-ui-css
and it will download the fonts and you can then import the CSS file and it should just work. If you aren't using NPM I would recommend cloning the CSS repository which comes with the font files. You could also download the fonts files from the repo itself https://github.com/fomantic/Fomantic-UI-CSS