Skip to content
New issue

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

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

Already on GitHub? # to your account

分包可以支持放到 paegs 目录下面 #152

Closed
2 tasks done
wukongkong opened this issue Apr 13, 2024 · 3 comments · Fixed by #161
Closed
2 tasks done

分包可以支持放到 paegs 目录下面 #152

wukongkong opened this issue Apr 13, 2024 · 3 comments · Fixed by #161

Comments

@wukongkong
Copy link

对问题的清晰和简明的描述

一般开发习惯分包都是放到 pages 下面,现在放了之后,路径不对,

"subPackages": [
    {
      "root": "sub",
      "pages": [
        {
          "path": "../pages/sub/sub-activity/home/index",
          "type": "page",
          "style": {
            "navigationBarTitleText": "我的"
          }
        },
        {
          "path": "../pages/sub/sub-home/demo/index",
          "type": "page",
          "style": {
            "navigationBarTitleText": "分包页面 标题"
          }
        }
      ]
    }
  ]

推荐的解决方案

支持放到 pages 目录下

替代方案

No response

额外上下文

No response

检查

  • 遵循我们的 行为准则
  • 检查是否已经有一个要求相同功能的问题,以避免重复创建。
@skiyee
Copy link
Member

skiyee commented May 7, 2024

我也遇到这个问题,尝试修复了一下
可以看一下PR,是否符合你的描述

@wukongkong
Copy link
Author

我也遇到这个问题,尝试修复了一下 可以看一下PR,是否符合你的描述

反馈下,现在分包符合要求,但是分包页面也同时会被打入到主包里面,麻烦帮忙看下

@skiyee
Copy link
Member

skiyee commented Sep 20, 2024

我也遇到这个问题,尝试修复了一下 可以看一下PR,是否符合你的描述

反馈下,现在分包符合要求,但是分包页面也同时会被打入到主包里面,麻烦帮忙看下

抱歉,这段时间很忙,目前没有多余的时间去处理相关的issue

欢迎各位朋友们提交相关PR

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants