github:https://github.com/wmonk/create-react-app-typescriptreact
报错:Import sources within a group must be alphabetized.
缘由:import名称排序问题,要求按照字母从小到大排序;修改rules的规则“ordered-imports”为false便可。
解决:https://cdn2.jianshu.io/p/a7d308b28e61git
配置antd按需加载(使用 ts-import-plugin)
配置说明:github