mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 04:41:36 +02:00
Remove --save
option from npm i
as it isn't required anymore (#28302)
As of npm 5.0.0, installed modules are added as a dependency by default, so the --save option is no longer needed. The other save options still exist and are listed in the documentation for npm install.
This commit is contained in:
@@ -28,7 +28,7 @@ import 'bootstrap/js/dist/alert';
|
|||||||
|
|
||||||
Bootstrap is dependent on [jQuery](https://jquery.com/) and [Popper](https://popper.js.org/),
|
Bootstrap is dependent on [jQuery](https://jquery.com/) and [Popper](https://popper.js.org/),
|
||||||
these are defined as `peerDependencies`, this means that you will have to make sure to add both of them
|
these are defined as `peerDependencies`, this means that you will have to make sure to add both of them
|
||||||
to your `package.json` using `npm install --save jquery popper.js`.
|
to your `package.json` using `npm install jquery popper.js`.
|
||||||
|
|
||||||
## Importing Styles
|
## Importing Styles
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user