M
M
Maxim Konovalov2020-02-10 17:52:56
Bootstrap
Maxim Konovalov, 2020-02-10 17:52:56

How to include bootstrap 4 via webpack without including scripts?

I have already
run npm i -D install bootstrap
What do I need to do next?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Mikhail Osher, 2020-02-10
@miraage

1) Create some index.css (or vendor.css is better, if you have anything else to add).
2) Write there 3) Include the created css file in the main js file
@import "bootstrap/dist/bootstrap.css";

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question