2
加载模块SystemJS不是从我使用SystemJS加载一个简单的JavaScript文件node_modules
<script>require("systemjs")</script>
<script>
SystemJS.import('./dist/app.js').then(null, console.error.bind(console));
</script>
但我得到一个错误时,我在电子运行:
GET file:///D:/Projects/myapp/app/jquery net::ERR_FILE_NOT_FOUND
为什么SystemJS不是0寻找的jQuery像任何其他理智的JavaScript加载程序?我怎样才能看到它?