Dependent global control vue

vue.js install the specified version dependency
Tip: JQ-dependent, for example to install
Tip: JQ-dependent, for example to install
the specified version of
npm install [email protected] --save
local installation
npm install [email protected] --save // the module is downloaded to the current directory where the command-line
global install
npm install [email protected] -g // module will be downloaded to install "global directory" in the
installation and writes: install the same time, the information is written in package.json project dependencies
npm install [email protected] --save
--save-dev npm install [email protected]
difference:
-save will depend on the package name is added to the next key dependencies package.json file
-save-dev is added to under devDependencies key package.json file

-Save after you release also depends on what
-save-dev is something you develop time-dependent
----------------
Disclaimer: This article is CSDN blogger "hi big Ben & Poor's ⁶⁶⁶ 'original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/qq_38652871/article/details/84459951

Guess you like

Origin www.cnblogs.com/zhizou/p/11610683.html