Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2019-02-20 11:34:43 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-02-20 23:05:45 +0300
commit58773061048ab05f87b67cd47f10d9bf8c3f25aa (patch)
tree6667ef8174f674b46f02197bddbd2697d0bca26f /site/docs/4.3
parent68e6de42ecca81aa7b46f6387ea4d057bd013a6e (diff)
download.md: reword import bootstrap section.
Diffstat (limited to 'site/docs/4.3')
-rw-r--r--site/docs/4.3/getting-started/download.md3
1 files changed, 2 insertions, 1 deletions
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: