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)

 

 

Windows Computers

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

相关文章:

  • 2021-09-08
  • 2022-01-18
  • 2022-12-23
  • 2022-12-23
  • 2021-11-23
  • 2021-10-31
猜你喜欢
  • 2022-12-23
  • 2021-11-06
  • 2021-06-11
  • 2021-05-31
  • 2021-12-12
  • 2021-12-12
相关资源
相似解决方案