# or yarn
$ npm install
$ npm run build --watch
$ npm run start
Configure in .umirc.js
,
export default {
plugins: ['umijs-plugin-vconsole'],
};
More configuration click here
export default {
vconsole: {
defaultPlugins: ['system', 'network', 'element', 'storage'],
onReady: true,
hidden:false,
debug: true
},
};
hidden 优先级最高,表示隐藏 vconsole,同时设置 debug 默认无效 debug 在生产环境下打开调试 vconsole,默认只在开发环境显示 vconsole
MIT