1. Download vue-devtools
GitHub download address:
https://github.com/vuejs/vue-devtools
2. Modify the file configuration persistent:
Modify "persistent" in the manifest.json file in the directory vue-devtools>shells>chrome> : false (change false to true) , as shown in the figure:
Save after modification, open this file directory in cdm, and execute the following command:
cnpm install
cnpm run build
3. Install the configured extension:
add chrome extension
1. Open the chrome browser, three dots in the upper right corner > More Tools > Extensions
2. Click again to load the unzipped extension, and then select the folder under your vue-devtools-master\shells\chrome
file directory
After the installation is successful, start the vue project, and the vue plug-in of Chrome will become colored! WULI be nice