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

[Bug] 非根目录build,使用midwayjs部署,打开是空白页面,不报错没有404 #12960

Open
wbget opened this issue Mar 13, 2025 · 1 comment

Comments

@wbget
Copy link

wbget commented Mar 13, 2025

What happens?

根目录build是好的,非根build后打开是空页面,dev是正常的

Mini Showcase Repository(REQUIRED)

Please provide a minimal reproduction then upload to your GitHub. 请提供 最小重现,并上传到你的 GitHub 仓库

项目地址

How To Reproduce

Steps to reproduce the behavior: 1. 2.

Expected behavior 1. 2.

npm run build
npx serve ./dist

Context

访问localhost:3000/editor是空白页面

  • Umi Version: 4.4.6
  • Node Version: v18.20.5
  • Platform: win10
@wbget wbget changed the title [Bug] say something [Bug] 非根目录build,使用midwayjs部署,打开是空白页面,不报错没有404 Mar 13, 2025
@wbget
Copy link
Author

wbget commented Mar 17, 2025

有人吗?

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

No branches or pull requests

1 participant