Open eerison opened 1 year ago
Hello
Import scss with node_modules worked, But just locally when I I run npm ru preview or npm run dev.
node_modules
npm ru preview
npm run dev
But when I build the application, I get this error:
Unable to resolve `@import "node_modules/@tabler/icons-webfont/tabler-icons.css"` from /home/runner/work/myprofile/myprofile/src/style/resume-default
Pipeline: https://github.com/shield-wall/myprofile/actions/runs/6131964642/job/16642412989
after I remove node_modules prefix, it worked
@import "@tabler/icons-webfont/tabler-icons.scss";
the other issue was, to appear icons I also need to import
@import "@tabler/icons-webfont/tabler-icons.css";
But the doc does not says it, I do not know if I missed something else, But I just could make this work importing those 2 files
you can have a better overview looking this file: https://github.com/shield-wall/myprofile/blob/master/src/style/icons.scss
Hello
Import scss with
node_modules
worked, But just locally when I I runnpm ru preview
ornpm run dev
.But when I build the application, I get this error:
Pipeline: https://github.com/shield-wall/myprofile/actions/runs/6131964642/job/16642412989
after I remove node_modules prefix, it worked
the other issue was, to appear icons I also need to import
But the doc does not says it, I do not know if I missed something else, But I just could make this work importing those 2 files
you can have a better overview looking this file: https://github.com/shield-wall/myprofile/blob/master/src/style/icons.scss