Angular2 Final Release - “Error: Angular requires Zone.js prolyfill”

前端 未结 5 756
醉话见心
醉话见心 2021-02-18 16:09

I have upgraded from RC4 to the Final release of Angular2. When I run npm start, the app is stuck on \'Loading...\' the only error I get is about Zone.js:

<

5条回答
  •  花落未央
    2021-02-18 17:03

    You need to include Zone as a script tag before you include angular, it doesn't get loaded as a module. See https://angular.io/guide/quickstart

    
    
    
    
    
    
    

提交回复
热议问题