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

页面Tab是否支持配置移动端组件研发模式mobile=true #1854

Open
FrankFan opened this issue Aug 24, 2023 · 2 comments
Open

页面Tab是否支持配置移动端组件研发模式mobile=true #1854

FrankFan opened this issue Aug 24, 2023 · 2 comments
Labels
PR Welcome question Further information is requested

Comments

@FrankFan
Copy link

Question

页面Tab是否支持配置移动端组件研发模式mobile=true

仔细阅读文档站点,发现 mobile=true 只能针对页面级别,无法针对 demo code 级别来区分。

页面Tab很好用:https://d.umijs.org/guide/page-tab
移动端组件研发模式也很好用:https://d.umijs.org/guide/mobile-library

能否在在Tab中使用 mobile=true 生效呢?尝试配置后不生效
image

image

@FrankFan FrankFan added the question Further information is requested label Aug 24, 2023
@github-actions
Copy link

Hello @FrankFan. We totally like your proposal/feedback, welcome to send us a Pull Request for it. Please be sure to fill in the default template in the Pull Request, provide changelog/documentation/test cases if needed and make sure CI passed, we will review it soon. We appreciate your effort in advance and looking forward to your contribution!

你好 @FrankFan,我们完全同意你的提议/反馈,欢迎直接在此仓库创建一个 Pull Request 来解决这个问题。请务必填写 Pull Request 内的预设模板,提供改动所需相应的 changelog、测试用例、文档等,并确保 CI 通过,我们会尽快进行 Review,提前感谢和期待您的贡献。

@PeachScript
Copy link
Member

关键代码位置:

frontmatter: { mobile = true },

相关 API:https://d.umijs.org/theme/api#usetabmeta

欢迎 PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PR Welcome question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants