zl程序教程

您现在的位置是:首页 >  前端

当前栏目

[Bootstrap] install Bootstrap framework in window 7 by npm

Bootstrapnpm in by Framework window install
2023-09-14 09:01:22 时间

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)