Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to use bootstrap.css in entire app with webpack? #14
Labels
Comments
|
This has been answered here: #12 |
|
Also, I just pushed a fix that should help and updated the readme accordingly |
|
sorry, I add import '../node_modules/bootstrap/dist/css/bootstrap.css'; to vendor.ts |
|
I can find bootstrap.css at webpack://~/bootstrap/dist/css. But how to use it to my components? |
|
To import it from vendor.ts you have to make this change to the webpack config file: f73e6e5#diff-11e9f7f953edc64ba14b0cc350ae7b9dR114 Then just do: import 'bootstrap/dist/css/bootstrap.css';It will import it for the whole project. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.