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.
Uninstall this extension named "HTML CSS Support" and then reload. It worked for me, I hope it would work for you as well.