Home > Web Front-end > Vue.js > How to install vue.js devtools?

How to install vue.js devtools?

青灯夜游
Release: 2020-11-30 13:58:45
Original
13380 people have browsed it

Installation method: 1. Download the zip installation package and extract it to the specified folder; 2. Enter the Vue-devtools directory and enter "yarn install" and "yarn run build" to install; 3. Configuration manifest.json file; 4. Manually extend the chrome plug-in.

How to install vue.js devtools?

The operating environment of this tutorial: Windows 7 system, Vue version 2.9.6. This method is suitable for all brands of computers.

Introduction to vue devtools

vue devtools is a plug-in based on the chrome browser for debugging Vue.js applications, which can make Developers greatly improve debugging efficiency. Supports users to parse and debug DOM structure data structures.

Since vue is data-driven, there is a problem that viewing the DOM structure during development and debugging cannot parse anything. Through this plug-in, users can easily parse and debug the data structure, and can do it on the side. Check the code and debug on the page in the sidebar pane. You can easily view information such as state, mutaitons, actions, etc., and you can also record routing changes, routing-related information, etc. It can be said to be an essential tool for front-end development!

Install Vue-Devtools

#1. Enter the Vue official website https://cn.vuejs.org/, in the ecosystem Click Devtools


How to install vue.js devtools?

##2. The page jumps to GitHub and click to download the zip package

How to install vue.js devtools?

3. After downloading, unzip it to the folder. I am unzipping it to the folder I created

How to install vue.js devtools?

4. Then enter the Vue-devtools-dev directory and press Hold the shift key and right-click to open the powershell window

How to install vue.js devtools?##5. Enter yarn install to start the installation. I have already installed it here, so I won’t paste the picture

6 , then enter yarn run build, wait for the installation, the following page appears, the installation is successful

How to install vue.js devtools?7. Open the folder and enter \vue-devtools-dev\packages \shell-chrome directory, open the manifest.json file, modify

"persistent": false to "persistent": true

How to install vue.js devtools?
How to install vue.js devtools?8. Open Google Chrome, enter extensions, open developer mode, click to load the decompressed extension, select the shell-chrome folder in the \vue-devtools-dev\packages\ directory

How to install vue.js devtools?
How to install vue.js devtools?9. Installation completed

How to install vue.js devtools?

Use Vue-devtools to debug 1. Open the debugging project in the browser. I just wrote a test page here, open the console, and click Vue in the picture to debug

How to install vue.js devtools?## Related recommendations:


2020 Summary of front-end vue interview questions (with answers)

vue tutorial recommendations: The latest 5 vue in 2020. js video tutorial selection

For more programming-related knowledge, please visit:

Introduction to Programming
! !

The above is the detailed content of How to install vue.js devtools?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template