Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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.

1

2

like image 677
ahmed essam Avatar asked Dec 26 '20 17:12

ahmed essam


2 Answers

Uninstall this extension named "HTML CSS Support" and then reload. It worked for me, I hope it would work for you as well.

like image 147
Prashant Srivastava Avatar answered Oct 09 '22 23:10

Prashant Srivastava


I had the same problem. It turned out to be an issue with the same 'HTML/CSS Support' extension mentioned in this answer and this answer. It looks like there have been 7 different releases for that extension in the last few days. v1.3.3 seems to be the latest working version of the extension.

like image 11
Joseph Zabinski Avatar answered Oct 09 '22 21:10

Joseph Zabinski