About the difference between npm install --save and npm install --save-dev

You should use npm install --save when installing a package to be packaged into production, and npm install --save
if you are installing a package for development (eg, linter, test library, etc.) -save-dev.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324993282&siteId=291194637