Skip to content

React Generator插件实现可生成多种jsx/tsx模板,可自定义 #1063

@Hedgehog-03

Description

@Hedgehog-03

问题描述/Problem Description

React Generator 插件只能生成一种特定的 jsx/tsx 模板,也就是普通的 Function Component,不能生成 Arrow Function Component.

建议的方案/Proposal

提供一个扩展设置入口API,使得用户可以自定义生成的 jsx/tsx 模板。

备选的方案/Alternatives

或是提供一个扩展设置入口API,用户可以选择生成 Function Component 或 Arrow Function Component,或古早项目的 Class Component.

附加信息/Other Information

辛苦AppWorks开发团队

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions