taro icon indicating copy to clipboard operation
taro copied to clipboard

[rn]希望rn可以根据app所定义的页面来编译

Open YuanQuan opened this issue 7 years ago • 5 comments

期望行为 1.希望可以通过配置app中的pages与subPackages来编译页面文件 2.希望可以只编译rn或不带平台标记的命名文件 PS:目前的项目目录都编译

  • 操作系统: [e.g. Windows 10]
  • Taro 版本 [e.g. v.0.0.64]
  • Node.js 版本 [e.g. v9.0.0]
  • 报错平台 [rn]

YuanQuan avatar Aug 23 '19 11:08 YuanQuan

欢迎提交 Issue~

如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏

如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。

Good luck and happy coding~

taro-bot avatar Aug 23 '19 11:08 taro-bot

CC @Pines-Cheng

taro-bot avatar Aug 26 '19 02:08 taro-bot

@Pines-Cheng

YuanQuan avatar Sep 23 '19 06:09 YuanQuan

这个需求貌似可以通过定义跨端文件来解决:

image

编译后:

image

Pines-Cheng avatar Sep 23 '19 07:09 Pines-Cheng

已实现,将在 2.1 中发布。

Pines-Cheng avatar Mar 16 '20 08:03 Pines-Cheng