How to use Bootstrap in PhpStorm?

Viewed 1459

How can I use Bootstrap in PhpStorm?

I did install Bootstrap with npm successfully but if I write a simple bootstrap command in the index.php it is just a simple non effected grey small button.

example a button:

<button class="btn btn-primary">test</button> 

What am I missing in PhpStorm?

2 Answers

step 1 (if you use CDN lib): enter image description here step 2: Going to Settings -> Languages & Frameworks -> Javascript -> Libraries and checking enabled 'Bootstrap' if it isn't already.

Related