aboutsummaryrefslogtreecommitdiff
path: root/site/content/docs
diff options
context:
space:
mode:
authorXhmikosR <[email protected]>2022-05-13 19:55:29 +0300
committerXhmikosR <[email protected]>2022-05-13 20:16:05 +0300
commitab37f63b3d7968d039b7961bca3fb29fe132a40e (patch)
treeab73785ecfa9f2114bf139a138576169f01131e3 /site/content/docs
parentfca04c07131a81e625a516cf7b98a8c7df0df1c1 (diff)
downloadbootstrap-ab37f63b3d7968d039b7961bca3fb29fe132a40e.tar.xz
bootstrap-ab37f63b3d7968d039b7961bca3fb29fe132a40e.zip
docs: add the version in npm/yarn commands
Diffstat (limited to 'site/content/docs')
-rw-r--r--site/content/docs/5.2/getting-started/download.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/site/content/docs/5.2/getting-started/download.md b/site/content/docs/5.2/getting-started/download.md
index 8a4c8f215..eeffdc83e 100644
--- a/site/content/docs/5.2/getting-started/download.md
+++ b/site/content/docs/5.2/getting-started/download.md
@@ -59,7 +59,7 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo
Install Bootstrap in your Node.js powered apps with [the npm package](https://www.npmjs.com/package/bootstrap):
```sh
-npm install bootstrap
+npm install bootstrap@{{< param "current_version" >}}
```
`const bootstrap = require('bootstrap')` or `import bootstrap from 'bootstrap'` will load all of Bootstrap's plugins onto a `bootstrap` object.
@@ -79,7 +79,7 @@ Bootstrap's `package.json` contains some additional metadata under the following
Install Bootstrap in your Node.js powered apps with [the yarn package](https://yarnpkg.com/en/package/bootstrap):
```sh
-yarn add bootstrap
+yarn add bootstrap@{{< param "current_version" >}}
```
### RubyGems