📜  多重错误. node_modules ngx-toastr toastr.css . src styles.scss 代码示例

📅  最后修改于: 2022-03-11 14:47:51.599000             🧑  作者: Mango

代码示例1
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"
],