Questions about installation modes in Angular

0

Let's assume that I want to install a specific version of bootstrap in my angled project, the command would be this:

npm install [email protected] --save

This command is required to be included in the package.json file, because if someday this project needs to be sent to the cloud the bootstrap package will also be included and installed, all because of the - save parameter

But let's assume I want to use the css library called Bootstrap Switch

Bootstrap

There are no guidelines on how to install the project with the --save parameter, the only way to make css libraries work would be to put it directly into the project, but the package.json file would not be notified of this inclusion in the project, installed in the project manually.

The Bootstrap Switch Library is working perfectly in the project, I have already tested it, but will it be that when it is sent to the server in the cloud it will work?     

asked by anonymous 08.01.2018 / 14:07

0 answers