0👍
✅
Eh.. solved it. So the issue is that if bootstrap gets included twice – the classes might not apply properly. So I had to remove the boostrap.js import. Now it works fine.
-1👍
I also got facing the same problems. please run your project editing code with double quotes to single quotes.
Your code:
import "bootstrap/dist/css/bootstrap.min.css"
import "bootstrap"
import "bootstrap/dist/js/bootstrap.js"
my testing code:
import ‘bootstrap/dist/css/bootstrap.min.css’
import ‘bootstrap/dist/js/bootstrap.js’
import "bootstrap" **** Remove this line and run the server again and check
Source:stackexchange.com