Closed iamporus closed 5 years ago
Hi @iamporus , I hope you are ok.
Can you share the import in your app.js?
looks like import 'bootstrap/dist/css/bootstrap.css';
?
Yes. I should have mentioned in the question. But yes. It's the same as you have mentioned.
It was an issue with my web pack config. When I added css-loader, it compiled successfully. Here's the added config:
module: {
rules: [
{
test: /\.css$/,
use: ["css-loader"]
}
]
}
When trying to include bootstrap.css in the app.js file, compilation fails with these errors: