apptools-lab / AppWorks

🐻 基于 VS Code 插件的前端研发工具集,站点国内镜像:https://apptools.gitee.io
https://appworks.site/
MIT License
993 stars 180 forks source link

Feat add React Generator #933

Closed fyangstudio closed 3 years ago

fyangstudio commented 3 years ago

为了更清晰的插件职责划分,将生成代码部分功能通过新的 React Generator 插件提供。

新增 React Generator 插件

使用

生成 typescript 代码

img

生成样式代码

img

创建文件时自动填充样板代码

img

img

codecov-commenter commented 3 years ago

Codecov Report

Merging #933 (51c3dfd) into release/1.4.0 (fee2ad2) will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@              Coverage Diff               @@
##           release/1.4.0     #933   +/-   ##
==============================================
  Coverage          57.14%   57.14%           
==============================================
  Files                  1        1           
  Lines                 70       70           
  Branches              18       18           
==============================================
  Hits                  40       40           
  Misses                30       30           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update fee2ad2...51c3dfd. Read the comment docs.

luhc228 commented 3 years ago

dark mode 那一部分,要不要结合主题库的主题变量搞?

fyangstudio commented 3 years ago

dark mode 那一部分,要不要结合主题库的主题变量搞?

这个方案和主题变量的方案 并不冲突。可以更快速支持 dark mode,提升老业务升级支持效率

RFC: https://yuque.antfin-inc.com/appworks/tsc/pls17r