From: Johann-S Date: Wed, 20 Feb 2019 08:34:43 +0000 (+0200) Subject: download.md: reword import bootstrap section. X-Git-Tag: v5.0.0-alpha1~1259 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58773061048ab05f87b67cd47f10d9bf8c3f25aa;p=thirdparty%2Fbootstrap.git download.md: reword import bootstrap section. --- diff --git a/site/docs/4.3/getting-started/download.md b/site/docs/4.3/getting-started/download.md index 394a32606a..c93a94bb45 100644 --- a/site/docs/4.3/getting-started/download.md +++ b/site/docs/4.3/getting-started/download.md @@ -55,7 +55,8 @@ Install Bootstrap in your Node.js powered apps with [the npm package](https://ww npm install bootstrap {% endhighlight %} -`require('bootstrap')` will load all of Bootstrap's plugins onto the `window` object. The `bootstrap` module itself does not export anything. You can manually load Bootstrap's plugins individually by loading the `/js/*.js` files under the package's top-level directory. +`const bootstrap = require('bootstrap')` or `import bootstrap from 'bootstrap'` will load all of Bootstrap's plugins onto a `bootstrap` object. +The `bootstrap` module itself exports all of our plugins. You can manually load Bootstrap's plugins individually by loading the `/js/dist/*.js` files under the package's top-level directory. Bootstrap's `package.json` contains some additional metadata under the following keys: