I\'m new to Polymer. I start writing a simple webapp in which 1. User first land in a login page 2. If user passes login, then direct user to content page
I write an
Try using 'dna-router'. Its relatively new and supports Polymer-1.0. You can create routing purely in html.
Dna-router also supports user-authentication. You can pass login status and loggedin data in its 'dna-config' element. Router will show page based on login status. You can declare which states need user authentication.
Its still under development and have some glitches in it. But worth giving a try.
Github: https://github.com/Saquib764/dna-router/