Please tell me the actual difference between using NPM to install plug-ins-- SAVE-DEV and-- SAVE.

using-- save-dev and using-- save correspond to devdependencies and dependencies in Package.json. One is run by the development environment and the other is run online. I think they are all put in Node-modules after the final installation. Is there a difference for the actual project? can I install it all into a directory?

Npm
Mar.03,2021

the development environment does not need to rely on devdependencies to launch a project, for example, some gulp may be used in development to monitor file changes, nodemon to listen for code changes and hot updates, which will not be used after the project is launched.
can be installed all with npm install .


https://codeshelper.com/q/10.

Menu