You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
./node_modules/.pnpm/tdesign-react@1.2.4_react-dom@18.2.0_react@18.2.0/node_modules/tdesign-react/es/affix/style/index.css
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules\.pnpm\tdesign-react@1.2.4_react-dom@18.2.0_react@18.2.0\node_modules\tdesign-react\es\affix\style\css.js
即使注释掉引入css的那一段仍然不行
框架版本
react 18.2.0; next 13.5.4
浏览器版本
No response
系统版本
No response
Node版本
18.1
补充说明
No response
The text was updated successfully, but these errors were encountered:
tdesign-react 版本
1.2.4
重现链接
No response
重现步骤
在nextjs框架中使用tdesign,按照文档引入css
import 'tdesign-react/es/style/index.css'
期望结果
正确加载页面
实际结果
报错 Failed to compile
即使注释掉引入css的那一段仍然不行
框架版本
react 18.2.0; next 13.5.4
浏览器版本
No response
系统版本
No response
Node版本
18.1
补充说明
No response
The text was updated successfully, but these errors were encountered: