Description:
I recently pulled coreui and coreui icons to a Laravel setup and when attempting to run npm build, NPM was not able to trace the .eot file to the right location because it was using ../ as seen in:
|
$coreui-icons-font-path: "../fonts" !default; |
Experiment:
I tested replacing ../ with ~@coreui/icons/ and this did the trick. NPM was able to build the proper files and I'm now able to load the icons in the page.
Could/Should this be corrected in font related files or should I be working with these packages differently? 🧐
Thanks,
Description:
I recently pulled coreui and coreui icons to a Laravel setup and when attempting to run
npm build, NPM was not able to trace the.eotfile to the right location because it was using../as seen in:coreui-icons/scss/free/_variables.scss
Line 2 in b9bb76b
Experiment:
I tested replacing
../with~@coreui/icons/and this did the trick. NPM was able to build the proper files and I'm now able to load the icons in the page.Could/Should this be corrected in font related files or should I be working with these packages differently? 🧐
Thanks,