-
Notifications
You must be signed in to change notification settings - Fork 643
New issue
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
Can't load icons #15
Comments
Hello there, @sc4224 Please check our live docs here: https://demos.creative-tim.com/argon-design-system-react/#/documentation/quick-start Best, |
Hey @einazare I've already checked the docs and followed the instructions as stated where I import the css files. It does not work though, what am I doing wrong? |
Hello again, @sc4224 , Have you also added the fonts inside the .html file? Best, |
@einazare yes I've tried that, included the font in the html. Still does not work |
@einazare have you tried to work this with the nextjs framework? |
Hello again, @sc4224 , Unfortunately, no, we haven't tried it with NextJS, from what we know, NextJS has other ways of importing CSS/SCSS, that might be the cause. Best, |
@einazare the things i've tried so far was to install url loader and configure webpack through next.config.js. It does not seem to do the job for me. CSS and SCSS imports were done correctly through libraries next-sass, next-css and next-fonts. As you can see in the picture the styling was included, it was just the icon could not load. |
Hello again, @sc4224 , I am sorry, but at the moment, we've only worked with NextJS and our material products: https://www.creative-tim.com/templates/nextjs I will leave this issue open, and maybe someone from our community will come to your help. Best, |
Fixed the issue by downgrading the react-script version to 3.4.4. Solution found from here: |
Hello there guys, I think for font, you could use the following: https://www.npmjs.com/package/next-fonts Best, |
Version
1.1.0
Reproduction link
https://github.com/sc4224/typescript-graphql
Operating System
Mac OSX Catalina
Device
iMac
Browser & Version
Chrome 83.0.4103.61
Steps to reproduce
git clone
the repoyarn
yarn dev
import 'argon-design-system-react/src/assets/vendor/nucleo/css/nucleo.css';
import 'argon-design-system-react/src/assets/vendor/font-awesome/css/font-awesome.min.css';
import 'argon-design-system-react/src/assets/scss/argon-design-system-react.scss';
What is expected?
Icons to load for valid and invalid Input fields
What is actually happening?
Icons are not loading, square box placeholder is showing up where the icon should be

Solution
Additional comments
The text was updated successfully, but these errors were encountered: