Has anyone got angular 2.0 alpha working with Polymer Elements?
I've been unsuccessfully trying to get the Angular 2.0 + Polymer Component Demo (youtube-app) from ng-conf working, but it seems to require patches to zoom.js and angular itself, which i'm not able to find.
Need help patching the two for the app to work. OR if anyone can share any other working example of Angular with Polymer Elements, that'll do.
Add this patch to zone.js. It will come in the next version of angular2 allowing you to use the two together.
Source: an example of Polymer & Angular 2 from Angular U using alpha-26: https://angularu.com/VideoSession/2015sf/componentize-your-app-with-polymer-elements/. Starts at 32:20 minutes in.
Make sure you use at least zone.js v0.5.4 within your angular2 setup. The patch for polymer from robdodson got merged since then.
You can check this project https://github.com/ebidel/polymer-experiments and also this video https://www.youtube.com/watch?v=p1NpZ-0Op0w of Eric Bidelman.
https://github.com/ebidel/polymer-experiments/tree/master/polymer-and-angular/together
链接地址: http://www.djcxy.com/p/84262.html上一篇: 递归嵌套jsonb结构的全文索引