npm install, use and install the vue Google debugging plugin

 1. Install node.js and download it from the official website. Just install the next step directly. Generally, the environment variables will be automatically configured. If not, please configure manually

      Enter the command node -v to view the node.js version or

        Use npm -v to view the npm version to verify whether the installation is successful

2. Configure npm's global installation directory and cache directory are generally configured in the node.js installation directory

npm config set prefix "D:\app\nodeJs\node_global"

npm config set cache "D:\app\nodeJs\node_cache"

3. Test download -g means global

 npm install -g express

4 Download is too slow to configure domestic mirrors, such as Taobao's or use Taobao's cnpm 

   1. Configure Taobao mirror

npm config set registry=http://registry.npm.taobao.org 

or

 2. Download cnpm and use cnpm

npm install -g cnpm --registry=https://registry.npm.taobao.org

  npm config list view configuration information

3. Install vue

  npm install -g vue 

4. Install vue debugging tools

  Reference: https://segmentfault.com/a/1190000009682735

Vue debugging tool cannot be opened

Reference:  https://blog.csdn.net/Lpandeng/article/details/84575298

Reference link: https://www.cnblogs.com/goldlong/p/8027997.html

 

Guess you like

Origin blog.csdn.net/xiaodujava/article/details/89521241