Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSS

ERROR in multi ./node_modules/ngx-toastr/toastr.css ./src/styles.scss

I believe that the problem come from these line

@import "~font-awesome/css/font-awesome.css";
@import "~bootstrap/dist/css/bootstrap.css";
Your prod source code cant find node_modules folder contain these 2 package. So I would suggest you include css in your angular.json something like this

"styles": [
    "node_modules/bootstrap/dist/css/bootstrap.min.css",
    "node_modules/font-awesome/css/font-awesome.min.css"
],
 
PREVIOUS NEXT
Tagged: #ERROR #multi
ADD COMMENT
Topic
Name
4+8 =