How to structure a Dart application with multiple views with Polymer

我只是一个虾纸丫 提交于 2019-12-22 18:46:30

问题


This question has been asked before but since the answer to that question Dart has adopted polymer to replace Web UI. Is there a Polymer version of the answer to this question? Also, I saw the answer relating to routes, which I like, but investigating it further has led me to believe that routes and polymer do not play well together yet.

I would also like to solicit views on the new Angular-Dart since I am comfortable with Angular but see it as a competing technology to polymer at least in the Dart world.

How to build a complex Web UI application with multiple views?


回答1:


Since Polymer is just a later version of web_ui (Polymer >= 0.5.0, web_ui is < 0.5.0) of the same framework, I believe the responses in the original question are still valid, only the syntax and API changes need be updated (ie, new Element.tag() vs new Element.html() etc).

See my sample on using routes with polymer



来源:https://stackoverflow.com/questions/19863859/how-to-structure-a-dart-application-with-multiple-views-with-polymer

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!