For an Angular/SCSS project, I need to install boxicons.
Here is the procedure:
1/ I enter the next command
npm install boxicons --save
2/ Boxicons is installed
The problem is that the folder is en CSS, how to get the SCSS version?
Thank you
CodePudding user response:
all you need to do, is add the boxicons.min.css
to the angular.json
file, in the below location.
"architect": {
"build": {
"options": {
"styles": [
"node_modules/boxicons/css/boxicons.min.css",
],
}
....
After that all the box icons classes will be available inside the scss files you are using in your project. Since the owner has not provided scss, you need to raise a enhancement on the github page of the author of boxicons!