mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02:00
@@ -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@next
|
||||
npm install bootstrap
|
||||
```
|
||||
|
||||
`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@next
|
||||
yarn add bootstrap
|
||||
```
|
||||
|
||||
### RubyGems
|
||||
|
@@ -48,6 +48,6 @@
|
||||
|
||||
- group: v5.x
|
||||
baseurl: "https://getbootstrap.com/docs"
|
||||
description: "Current major release. Last update was v5.0.0-beta3."
|
||||
description: "Current major release. Last update was v5.0.0."
|
||||
versions:
|
||||
- v: "5.0"
|
||||
|
@@ -12,7 +12,7 @@
|
||||
<a class="btn btn-lg btn-outline-primary mb-3" href="/docs/{{ .Site.Params.docs_version }}/getting-started/download/">Read installation docs</a>
|
||||
</div>
|
||||
<div class="col-md-7 ps-md-5">
|
||||
{{ highlight "npm install bootstrap@next" "sh" "" }}
|
||||
{{ highlight "npm install bootstrap" "sh" "" }}
|
||||
{{ highlight (printf ("gem install bootstrap -v %s") .Site.Params.current_ruby_version) "sh" "" }}
|
||||
</div>
|
||||
</section>
|
||||
|
Reference in New Issue
Block a user