mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-18 19:31:35 +02:00
docs: add the version in npm/yarn commands
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user