diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-05-13 19:55:29 +0300 |
---|---|---|
committer | XhmikosR <xhmikosr@gmail.com> | 2022-05-13 20:16:05 +0300 |
commit | ab37f63b3d7968d039b7961bca3fb29fe132a40e (patch) | |
tree | ab73785ecfa9f2114bf139a138576169f01131e3 /site/content | |
parent | fca04c07131a81e625a516cf7b98a8c7df0df1c1 (diff) |
docs: add the version in npm/yarn commands
Diffstat (limited to 'site/content')
-rw-r--r-- | site/content/docs/5.2/getting-started/download.md | 4 |
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 8a4c8f215d..eeffdc83e5 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 |