Skip to content

Latest commit

 

History

History
43 lines (21 loc) · 885 Bytes

README.md

File metadata and controls

43 lines (21 loc) · 885 Bytes

Angular2 Dart App with Polymer Layout and Components

Sample app used to work on integrating Polymer.Dart into Angular2 Dart project. This is not a definitive guide, just experiments. Correct me where I'm wrong!

View live at: http://ng2-polymer.dougreese.com/

Explanations

main.dart

  • Standard stuff - should be the same in any Angular2 Dart app
  • Include main polymer.dart and call initPolymer() asynchronously (needed?)
  • Include router providers

index.html

  • Add base href for Angular Router
  • Standard Polymer initialization

app_component.dart

app_component.html

side_nav.dart

side_nav.html

page1_component.dart

page1_component.html

page2_component.dart

page2_component.html