Add Bootstrap 4 to Angular 6 or Angular 7 application

前端 未结 5 1540
抹茶落季
抹茶落季 2020-12-20 13:00

I am working on Angular application using bootstrap 4.

I need help related to scss adding in my angular application.

My question is:

5条回答
  •  猫巷女王i
    2020-12-20 13:29

    Bootstrap not working properly in Angular 6 / 7 / 8

    I tried most of the solution over web nothing work for me

    Only below code work for me

    No need to change in angular.json

    Directly add below line into style.css file

    @import "../node_modules/bootstrap/dist/css/bootstrap.css"

    because in angular.json already we are providing reference of style.css

提交回复
热议问题