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

window 下使用 mpa 模式, 页面无法正常展示 #13134

Closed
biorz opened this issue Jan 13, 2023 · 0 comments · Fixed by #13842
Closed

window 下使用 mpa 模式, 页面无法正常展示 #13134

biorz opened this issue Jan 13, 2023 · 0 comments · Fixed by #13842
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x

Comments

@biorz
Copy link
Member

biorz commented Jan 13, 2023

相关平台

H5

复现仓库

git@github.com:biorz/example-taro-app-multi-router.git
浏览器版本: Chrome 108
使用框架: React

复现步骤

  1. 使用 window 系统,启动 dev:h5

期望结果

正常显示页面

实际结果

在 window 下不显示, 在 mac 下正常显示

环境信息

Taro CLI 3.5.11 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.18.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.17 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD

补充信息

可能是部分插件/配置没有兼容 window 路径分隔符,如 webpack5-runner 下的 H5Plugin。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-h5 Target - 编译到 H5 V-3 Version - 3.x
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants