ant-design / pro-editor

🕹️ The Ultimate Editor UI Framework and Components

Home Page:https://pro-editor.antdigital.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Question] 按教程配置后依旧出现Global CSS cannot be imported from within node_modules

johnwick115020115 opened this issue · comments

🧐 问题描述 | Proposed Solution

React18+nextjs12,按官方文档配置transpilePackages后,只要一使用Prochat组件就会报错
image

📝 补充信息 | Additional Information

image
image

@johnwick115020115 ProEditor 可能文档还没更新上来,最新版本的 Nextjs 似乎不需要配置 transpilePackages 也可以运行了,可以试试看,老版本好像还需要