pro-components
pro-components copied to clipboard
如何用dayjs替换momentjs
trafficstars
rt
chainWebpack(memo) { // 使用day.js替换moment.js memo.plugin('AntdDayjsWebpackPlugin').use(AntdDayjsWebpackPlugin); },
umi 开mfsu会报错
i have same problem after enabling msfu:
Uncaught TypeError: moment__WEBPACK_IMPORTED_MODULE_0___default(...).isMoment is not a function
is there any way to implement a fix?
同问,期望能够使用dayjs替换moment
2.0 版本默认使用了 dayjs 已经可以开始了