Closed morganwu277 closed 6 months ago
in antd 5.16.1 version, all antd style vanished
example: with-emotion-tailwindcss-antd
with-emotion-tailwindcss-antd
here is my package.json (I only change the antd version from 5.13.2 to 5.16.1 )
{ "name": "test4", "displayName": "test4", "version": "0.0.1", "description": "A basic Plasmo extension.", "author": "Plasmo Corp. <foss@plasmo.com>", "scripts": { "dev": "plasmo dev", "build": "plasmo build", "package": "plasmo package" }, "dependencies": { "@ant-design/cssinjs": "1.18.2", "@emotion/cache": "11.11.0", "@emotion/react": "11.11.3", "@emotion/styled": "11.11.0", "antd": "5.16.1", "plasmo": "0.85.2", "react": "18.2.0", "react-dom": "18.2.0" }, "devDependencies": { "@ianvs/prettier-plugin-sort-imports": "4.1.1", "@types/chrome": "0.0.258", "@types/node": "20.11.5", "@types/react": "18.2.48", "@types/react-dom": "18.2.18", "autoprefixer": "10.4.17", "postcss": "8.4.33", "prettier": "3.2.4", "tailwindcss": "3.4.1", "typescript": "5.3.3" }, "manifest": { "host_permissions": [ "https://*/*" ], "permissions": [ "tabs" ] } }
Latest
MacOSX
Chrome
No response
found it was the cssinjs issue, so we have to upgrade this component version as well.
What happened?
in antd 5.16.1 version, all antd style vanished
example:
with-emotion-tailwindcss-antd
here is my package.json (I only change the antd version from 5.13.2 to 5.16.1 )
Version
Latest
What OS are you seeing the problem on?
MacOSX
What browsers are you seeing the problem on?
Chrome
Relevant log output
No response
(OPTIONAL) Contribution
Code of Conduct