.angular-cli.json

时间:2018-04-10 19:29:30

标签: angular bootstrap-4

我通过提供如下路径

在我的Angular 5项目中设置Bootstrap
"styles": [
"styles.css",
"../node_modules/bootstrap/dist/css/bootstrap.min.css"
]

不应该(注意node_modules前面的点数),

"styles": [
"styles.css",
"./node_modules/bootstrap/dist/css/bootstrap.min.css"
]

提供的node_modules和.angular-cli.json是否在同一个文件夹中? (根文件夹)

0 个答案:

没有答案
相关问题