4 ms·
I just recently decided to start building a personal project on Polymer. I wish I could find a template built in Polymer 2 that shows off as many features as th
by Pigo 9y ago
I just recently decided to start building a personal project on Polymer. I wish I could find a template built in Polymer 2 that shows off as many features as the shop template.
- ergo14 9y agohttps://github.com/Polymer/shop/tree/2.0-preview/src https://github.com/Polymer/shop/tree/2.0-preview/src - you mean this?
- Pigo 9y agoThis is exactly what I was hoping someone would show me. But, and forgive me as I'm still very much a newb at Polymer, but isn't the syntax for 2 class MyApp extends Polymer.Element { } this is still using the Polymer({ }) would it be possible to just update to the latest version and syntax?
- ergo14 9y agoThis is hybrid application - works on both 1.x and 2.x - they did remove some unnecessary 1.x-only calls from the application. You can find the examples in main polymer documentation - I'd expect that lots of existing elements will be migrated to hybrid - so you will still see the old syntax for backwards compatibility.