GGEditor
GGEditor copied to clipboard
在create-react-app中使用报错
版本
gg-editor "version": "3.0.0-beta.0",
环境
系统:macOS 浏览器:Chrome:76.0.3809.132 React:16.9.0
重现步骤
1,安装脚手架create-react-app 2,配置antd 3,安装gg-editor 4,页面直接render <GGEditor> </GGEditor> 报错信息如下:
./node_modules/gg-editor/src/index.tsx Module not found: Can't resolve './common/context/EditorContext' in 'XXXXXXXXXXXXXXXXXXXXXXX/node_modules/gg-editor/src'
我切换到了低版本解决2.0.4
While running the code for command section I am facing the below error in "gg-editor": "^3.1.3", "Can't resolve 'gg-editor/lib/common/interfaces'"
Can some one help on this?