VS code CSS class selector not found with angular and bootstrap 5 beta

前端 未结 11 1891
陌清茗
陌清茗 2021-02-05 02:31

I\'m using bootstrap 5 with angular and I add style and script to angular.json but the problem in VS Code it does not recognize the bootstrap classes.

11条回答
  •  梦如初夏
    2021-02-05 03:34

    If you are using newer version of HTML CSS Support (>= 1.5.0), you can add the following css.validation settings to your settings.json which should clear this issue. Don't forget to reload VS Code after changing the settings though.

提交回复
热议问题