1. 安装
1 |
npm install vconsole |
2. 使用 main.js
1 2 3 |
import Vconsole from 'vconsole' const vConsole = new Vconsole() Vue.use(vConsole) |
运行即可看到~右下角的vconsole
from:https://blog.csdn.net/luckyzhoufangbing/article/details/95978480