Use yarn installation vue.js devtools (2020.1.6)

!!! pit: In a nutshell: npm too slow, need to register under taobao mirror

New Year, reinstall the system, there is a need to reinstall vue devtools.

vue-devtools clone the package.

Installation methods are as follows:

1. Clone this repo
2. `yarn install`
3. `yarn run dev`
4. A plain shell with a test app will be available at `localhost:8100`.

------------------------------------------------------------------------------------------

When installation yarn, always prompt: waiting, after Baidu to find answers:

Creating .npmrc or .yarnrc (npm install on the establishment of .npmrc) file in the project directory
input was content to get below

registry "https://registry.npm.taobao.org"

sass_binary_site "https://npm.taobao.org/mirrors/node-sass/"
phantomjs_cdnurl "http://cnpmjs.org/downloads"
electron_mirror "https://npm.taobao.org/mirrors/electron/"
sqlite3_binary_host_mirror "https://foxgis.oss-cn-shanghai.aliyuncs.com/"
profiler_binary_host_mirror "https://npm.taobao.org/mirrors/node-inspector/"
chromedriver_cdnurl "https://cdn.npm.taobao.org/dist/chromedriver"

 

Guess you like

Origin www.cnblogs.com/sx00xs/p/12158762.html