Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

JavaScript

Installing Bootstrap through NPM

I'm going through Express tutorials and he talks just adds bootstrap to his system. I wanted to do this so i looked it up and noticed you can do it through npm. however when you di this it puts it in the node_modules folder and not a public or _assets folder i have.

For future references, whats the best way to download and add bootstrap to a project? For now should i just move the files over to the right directory?

1 Answer

Well you could install bootstrap with bower which would be easier to add to the front.

But the new way I could say is utilizing Webpack.

If you have some time and you are still wondering, hit me up and lets do it together. Lets learn from each other ;)

Regards.

Nejc