Download and install nodeJS from the official website

Website address: nodejs.org/en/download…

Configure environment variables.

Environment configuration

  • Create the following folders in the installation directory:

    node_cache node_global

  • The environment configuration is mainly to configure the path where the NPM global module is installed and the cache path.

  • CMD run the following command:

      npm config set prefix "D:\Program Files\nodejs\node_global"
      npm config set cache "D:\Program Files\nodejs\node_cache"
    Copy the code

D:\Program Files\nodejs\node_cache; D:\Program Files\nodejs\Copy the code

D:\Program Files\nodejs\node_global\node_modules
Copy the code

D:\Program Files\nodejs\
Copy the code

Change the Registry of NPM to taobao mirror (npm.taobao.org) :

1. NPM package uses Alibaba’s Taobao source

Set it directly on the command line

npm config set registry https://registry.npm.taobao.org
Copy the code

Whether the test is successful

npm config get registry

https://registry.npm.taobao.org
Copy the code

Install the vueJS debugging tool DevTools

  • Download the package github.com/vuejs/vue-d…
  • Open the project to download the dependency and execute NPM install
  • npm run build
  • Change the manifest.json property “persistent” to true
  • Open the Chrome extension function and check developer mode
  • Drag the Shells > Chorme folder directly to the page to complete the installation

Now you kan create a new world!

You can create a new world