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

nextjs14 官方 demo,执行 build 后再 start,组件颜色缺失(全部是黑色) #36

Open
YuhangGe opened this issue Jan 2, 2024 · 0 comments

Comments

@YuhangGe
Copy link

YuhangGe commented Jan 2, 2024

在业务项目中发现问题,然后循着线索找到了这个官方 demo 仓库,发现官方仓库在我的环境下也有问题。

将官方仓库 clone 后,执行:

git clone https://github.com/ant-design/ant-design-examples
cd ant-design-examples/examples/with-nextjs-app-router-inline-style
pnpm i
pnpm dev  # dev 一切正常
pnpm build
pnpm start  # 所有组件黑色,见截图

image

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