node.js - how do I access my module in express? -


i install bootstrap with

npm install bootstrap --save 

in express project, bootstrap installed in node_modules, how can access js , css in jade file?

node_modules meant use server modules. npm server package management system.

you should use client package management system bower client side modules i.e. bootstrap.

once set bower, you'll able reference bower_components in html files.


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -