A lightweight client-side router built with webcomponents.
bower install --save emilbillberg/wc-router
<wc-router main>
<wc-path name="home" pattern="^/$"></wc-path>
<wc-path name="signup" pattern="^/signup$"></wc-path>
<wc-path name="schedule" pattern="^/schedule$"></wc-path>
<wc-path name="info" pattern="^/info$"></wc-path>
</wc-router>
First, make sure you have the Polymer CLI installed. Then run polymer serve
to serve your application locally.
polymer serve
Your application is already set up to be tested via web-component-tester. Run polymer test
to run your application's test suite locally.
polymer test
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
MIT