一、安装
npm install vconsole
二、
if (process.env.NODE_ENV === `development`) { const { logger } = require(`redux-logger`);
new VConsole();
}
new VConsole();
github 地址: https://github.com/Tencent/vConsole
一、安装
npm install vconsole
二、
if (process.env.NODE_ENV === `development`) { const { logger } = require(`redux-logger`);
new VConsole();
}
new VConsole();
github 地址: https://github.com/Tencent/vConsole
转载于:https://www.cnblogs.com/shangyueyue/p/10059899.html