Article Directory
1. Introduction to vconsole
1. Function
使用vconsole来查看h5页面运行在手机浏览器上的页面元素、控制台、请求等信息
2. Advantages
In the vue project, it can also be used without using npm installation
Two, use
Not much to say, just put the following code directly in the <body> tag
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
<script>
var vConsole = new window.VConsole();
</script>
1. jq project and js project
Put the following code directly in the <body> tag
2. vue project
Put it in the body of the index.html page in the root directory, as shown below