codetrial / generator-antd-pro

An easy way to build your ant-design-pro application.
https://generator-antd-pro.netlify.com
MIT License
33 stars 7 forks source link

Uncaught TypeError: Cannot read property 'Consumer' of undefined #1

Open mosswang opened 5 years ago

mosswang commented 5 years ago

使用yo antd-pro可以构建出一个antd-pro的应用,也可以使用yarn start命令启动成功,但是通过 http://localhost:8000/ 访问有报错,如图: image

felixpy commented 5 years ago

感谢反馈,可以参考一下这个方案,看下是否能够解决问题:https://github.com/ant-design/ant-design-pro/issues/3765