

1.安装(在项目根目录)
npm install vconsole
2.在main.js插入
import VConsole from 'vconsole'
const vConsole = new VConsole()
Vue.use(vConsole)
npm install vconsole
import VConsole from 'vconsole'
const vConsole = new VConsole()
Vue.use(vConsole)
本文标题:uni-app引入vconsole调试移动端项目查看log日志
本文链接:https://www.haomeiwen.com/subject/jdvsjdtx.html
网友评论