React中引用由react编写的组件问题
motiveYW
December 7, 2016, 9:58am
#1
parent:
var Child = require(‘react-child’);
react-child
子组件中main指向打包后的文件;
webpack打包没有问题, 浏览器报错: