1.0.7 • Published 5 years ago
backend-ts-component-template v1.0.7
1.前言
中后台ts组件开发模板,继承于react-scripts-ts-antd。
2.已知问题
1.antd@3.11.0有个已知bug,暂时使用下面代码兼容,日后升级修复去掉版本即可:
const antProc = spawn.sync(command, args.concat(['antd@3.9.1']), { stdio: 'inherit' });
if (antProc.status !== 0) {
console.error(`\`${command} ${args.concat(['antd@3.9.1']).join(' ')}\` failed`);
return;
}