react-materials icon indicating copy to clipboard operation
react-materials copied to clipboard

官方脚手架(模板)升级点记录

Open imsobear opened this issue 4 years ago • 0 comments

供其他自定义脚手架参考

已确定

  • createApp -> runApp
  • src/app.ts 里增加 IAppConfig
  • src/routes 里增加 IRouteConfig
  • 增加 src/typings.d.ts 文件 https://github.com/ice-lab/react-materials/blob/master/scaffolds/simple/src/typings.d.ts
  • ~~升级 webpack 5 https://github.com/alibaba-fusion/materials/pull/99/files~~
  • 开启 vite 模式:https://github.com/ice-lab/react-materials/pull/179
  • eslint 升级到 7.x
  • react 升级 17 & use new jsx transformer https://github.com/ice-lab/react-materials/pull/173
  • antd:
    • 优化 icon 写法 https://github.com/ice-lab/react-materials/blob/master/scaffolds/ant-design-lite/src/Layouts/BasicLayout/menuConfig.ts
    • 去除 babel-plugin-import,全量引入 CSS:https://github.com/ice-lab/react-materials/pull/191
  • fusion:
    • 去除 build-plugin-fusion,全量引入 CSS:https://github.com/ice-lab/react-materials/pull/191

imsobear avatar Jul 15 '21 08:07 imsobear