2015-10-19 16 views
1

使用Angular2時,IE10中出現錯誤 - 但可以正常使用Chrome-: 「對象不支持屬性或方法'導入'」 在行:System.import( 'app.js')中的index.html見下文 的HTML代碼,請幫助獲取以下錯誤對象的角度2不支持'導入'

--- index.html的----

<!doctype html> 
<html> 
    <head> 
    <title>Inventory App</title> 
     <script src="vendor/system.js"></script> 
    <script src="vendor/traceur-runtime.js"></script> 
    <script src="vendor/angular2.dev.js"></script> 
    <link rel="stylesheet" type="text/css" href="styles.css"> 
    </head> 
    <body> 
    <script> 
     System.import('app.js'); 
    </script> 
</body> 
</html> 
+0

你可以在plnkr中重現嗎?你使用的是什麼版本的每個庫?那些似乎很古老。無論如何,文檔[已更新](https://angular.io/docs/ts/latest/quickstart.html),所以你可以按照它的工作設置。 –

回答

0

中存在的這一問題0.16,它更新到當前是0.19。

+0

仍在https://jspm.io/[email protected]上發生 – duyn9uyen

相關問題