npm install --save-dev
And npm install --save
the difference between
npm install mockjs --save-dev
We can look at [file] package.json
npm install axios --save
Not -dev
be placed dependencies
inside, should be used to represent any time
there -dev
is on the devDependencies
inside, showing only used in the development environment
Fortunately, we must determine what use, if are placed dependencies
, will cause the file ridge over, if are placed devDependencies
, the online environment will lead to error