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

[Feature request/新需求]希望cli能增加新增页面的命令 #24

Open
hestudy opened this issue Sep 29, 2020 · 0 comments
Open

[Feature request/新需求]希望cli能增加新增页面的命令 #24

hestudy opened this issue Sep 29, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@hestudy
Copy link

hestudy commented Sep 29, 2020

您的Feature Request/想法是否与已有问题有关? 请描述。
希望cli能增加新增页面的命令,如果能提供模板选择就更好了。就目前我的刚需是带搜索的Table页,每次新增页面都需要手动复制粘贴,于是便想起了Taro cli的新增页面命令带给我的便利之处。希望Fes也能提供如此便利的功能

简述你想要的解决方案
比如可以提供newpage的命令,使用方法如下:
fes newpage list
如此便会在pages下新建list/index.vue
或者可以提供模板选择
fes newpage list --template table
如此便会在pages下新建list/index.vue,不同的是它将自带搜索头部和table的示例
我想要的功能大概如此

描述你考虑过的替代方案
由于对node并不熟悉,我曾用go实现过这个功能,用起来也很舒服,但是将其整合进fes的cli会更好。

其它补充内容

@wanchun wanchun added the enhancement New feature or request label Jan 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants