这货竟然不能根据当前文件相对路径依赖,我也是醉了
System.import('./a')
.then(a => {
console.info(a)
})
.catch(() => {
});
包含内容:Gulp, Babel,SystemJS, React, react-router, react-bootstrap, ECharts
具体请看在线示例:http://luqin.github.io/systemjs-es6-react-demo
源码:https://github.com/luqin/systemjs-es6-react-demo