ant-design / ant-design/cssinjs

extractStyle(cache)返回是的content是"",cache打印有内容

Open
#153 8 comments 3 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
287
Forks
80
PR merge metrics
No merged PRs in 30d

Description

根据官方示例:
![image](https://github.com/ant-design/cssinjs/assets/9392200/dc68823b-9aa5-4b13-b404-98542aa341cf)

控制台打印:
![image](https://github.com/ant-design/cssinjs/assets/9392200/01a1ac84-b604-4dee-91b0-1c25e8173163)

实际渲染结果:
![image](https://github.com/ant-design/cssinjs/assets/9392200/e1f921e6-d1b6-4a21-a41e-f0beddddfba3)

框架:nextjs@14.0.0
模式:APP Router
antd:5.10.2

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the official extractStyle(cache) example and reproduce the report using Next.js 14 App Router and antd 5.10.2. Inspect why extractStyle returns an empty content value while the cache contains entries; done when the reproduced case returns the expected generated styles.

Written by the indexing model from the issue text.

Assessment

Tech stack
nextjs, typescript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.