Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rh generate #11

Open
3 tasks
giscafer opened this issue Feb 17, 2022 · 0 comments
Open
3 tasks

rh generate #11

giscafer opened this issue Feb 17, 2022 · 0 comments

Comments

@giscafer
Copy link
Member

参考实现 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant