Skip to content

Dropdowns and Collapse Not Working with Angular #32345

Answered by cjhaviland
cjhaviland asked this question in Q&A
Discussion options

You must be logged in to vote

I had an idea that the JS file was getting added multiple times thanks to Angular. This all started happening when I added the @types/bootstrap. For some reason the entire JS file is getting added to my vendors.js file, but I was also including it in my angular.json file. Once I removed it from angular.json it started working! I still have no idea where Angular is actually grabbing the JS files from though...

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by cjhaviland
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants