We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用一次命令创建页面时一步到位,先创建页面再去pages中配置稍稍麻烦了点; 另外一点:在pages中手动添加页面时,可以自动创建对应页面的代码 具体表现可参考微信小程序开发者工具
命令创建页面时同时在app.config.js中的pages数组中同步增加路由配置
The text was updated successfully, but these errors were encountered:
这让我想起了 nest 的命令, nest g res xxx,一键生成模块代码 😄
nest g res xxx
Sorry, something went wrong.
“使用一次命令创建页面时一步到位,先创建页面再去pages中配置稍稍麻烦了点” 这一点正在跟进中 “另外一点:在pages中手动添加页面时,可以自动创建对应页面的代码 具体表现可参考微信小程序开发者工具” 这一点应该得拍配合 vscode 插件 在插件中调用 taro create 的命令去实现
目前支持自定义page的模版代码吗? 看了cli的源码没看出来
这让我想起了 nest 的命令, nest g res xxx,一键生成模块代码 😄 目前支持自定义page的模版代码吗? 看了cli的源码没看出来
翻完源码, 发现page的模板就是项目的模板, 顺手写了个源码解读的文章 https://juejin.cn/post/7261585120120766520
luckyadam
No branches or pull requests
这个特性解决了什么问题?
使用一次命令创建页面时一步到位,先创建页面再去pages中配置稍稍麻烦了点;
另外一点:在pages中手动添加页面时,可以自动创建对应页面的代码
具体表现可参考微信小程序开发者工具
这个 API 长什么样?
命令创建页面时同时在app.config.js中的pages数组中同步增加路由配置
The text was updated successfully, but these errors were encountered: