2017-08-09 27 views
0

我包括引導,但樣式表在HTML中並不angular4 bootstrap.css不包括

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

但在鉻注射顯示,bootstrap.min.css沒有明顯包含

<style type="text/css">/* You can add global styles to this file, and also 
import other style files */ 
</style> 
<style></style> 
+0

您是否在更改角度cli文件後重新啓動服務器? –

+0

哦,這就是爲什麼。非常感謝 –

+0

太棒了!我會把它作爲答案發布,以便你可以接受它。 –

回答

0

更改angular-cli文件後始終重新啓動服務器。