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

pages 支持注册外部页面 #15388

Closed
z-hhh opened this issue Mar 22, 2024 · 0 comments · Fixed by #15588
Closed

pages 支持注册外部页面 #15388

z-hhh opened this issue Mar 22, 2024 · 0 comments · Fixed by #15588
Labels
enhancement New feature or request

Comments

@z-hhh
Copy link

z-hhh commented Mar 22, 2024

这个特性解决了什么问题?

https://developer.open-douyin.com/docs/resource/zh-CN/mini-app/develop/component/industry/trading-system/guide

抖音小程序的交易系统组件中,系统内置的一些页面通过小程序插件方式提供,像下面这样注册(以 ext:// 开头):

{
  "pages": [
    "pages/index/index",
    // 提单页
    "ext://microapp-trade-plugin/order-confirm",
    // 退款申请页配置
    "ext://microapp-trade-plugin/refund-apply",
    // 退款详情页
    "ext://microapp-trade-plugin/refund-detail"
  ]
}

然而目前 taro 编译这个配置时,默认为组件路径而报错

这个 API 长什么样?

期望提供一个单独的配置项来配置这类外部页面,或者忽略编译这类非普通组件的页面,直接写入 dist 中

@taro-bot2 taro-bot2 bot added enhancement New feature or request labels Mar 22, 2024
koppthe added a commit that referenced this issue Apr 22, 2024
* main:
  chore: fix lint
  fix: 增加 modifyAppConfig 钩子,修复引用抖音小程序内置页面的问题, close #15388
  chore(release): publish 3.6.27 (#15536)
  fix: 修复安装全插件不支持传入 registry 的问题 (#15537)
  fix: 修改customRoutes配置路径缺失问题,补充转发情况

# Conflicts:
#	pnpm-lock.yaml
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

Successfully merging a pull request may close this issue.

1 participant