liuxueyong123

Results 3 comments of liuxueyong123

就是我在导入类型时会直接报错。在导入`@wangeditor/editor`这个包的时候,你们应该做了初始化,比如window上挂载什么事件之类的操作(即使我并不需要导入整个包的内容,我只想导入一个类型而已),但因为采用的服务端渲染,服务端没有window,会导致报错 ``` import { IEditorConfig } from '@wangeditor/editor' ```

I resloved this problem by node-polyfill-webpack-plugin