Webstorm Angular 4 + Bootstrap 4

I am  looking for tutorials, videos or any guides on how to get WebStorm set up with a project that uses Angular 4 and Bootstrap 4 CSS library.   I have been searching for a while and can't find any guidance on the best practice for importing javascript libraries into an Angular 4 application.

Does anyone have some links or suggestions?

1
4 comments

see answers in http://stackoverflow.com/questions/38534276/how-to-use-bootstrap-4-in-angular-2. usually you need installing bootstrap in your project via npm, add the required imports in your code (and include it in .angular-cli.json if you are using angular-cli)

0

Note: can't see how it is related to WebStorm

0

The reason that I put this in Webstorm folder is that if you are new to web development with Angulr AND you are new to the web storm IDE it is very hard to get up to speed as to how to add a javascript library to your project.  In Webstorm.  

Over the years I have coded many <script src="...."> tags but apparently you don't do that in Angular 2+.  So how does the library get included in the project?   I can't find any documentation on that just a few hints in blogs here and there.   And the documentation attached to Webstorm->Preferences->Languages & Frameworks->Javascript->Libraries does nothing to enlighten you.   

Is adding a library an nom function?  Or is it something Webstorm does for you?  Or some combination?   Webstorm supports other frameworks other than Angular so how would this be different here if at all?

0

Links I've provided include instructions on adding the library; and no, WebStorm won't do it for you

0

Please sign in to leave a comment.