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加載程序?我怎樣才能看到它?