[Bootstrap] install Bootstrap framework in window 7 by npm

Install with npm

You can also install Bootstrap using npm:

$ npm install bootstrap

require('bootstrap') will load all of Bootstrap's jQuery plugins onto the jQuery object. The bootstrap module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the /js/*.js files under the package's top-level directory.

Bootstrap's package.json contains some additional metadata under the following keys:

  • less - path to Bootstrap's main Less source file
  • style - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)

Get the MSI. npm is in it.(node-v5.1.1-x64.msi)

原文地址:https://www.cnblogs.com/Areas/p/5025186.html