Skip to content

rh generate #11

Description

@giscafer

参考实现 https://github1s.com/archguard/archguard-cli

  • 创建基础组件模板 rh g c 组件名 「-ba」
  • 创建业务组件模板 rh g c 组件名 -bu
  • 创建页面:rh g p test/Demo 页面菜单名

    上述命令会在 pages/test文件夹下新建Demo页面,并且自动配置好路由菜单(菜单名设置为最后一个参数:页面菜单名)

常用缩写

  • g => generate
  • c => component
  • -ba => --basic
  • -bu => --business

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions