I have this simple setup:
index:
<app-router>
<app-route path="/home" element="home-element" bindRouter></app-route>
<app-route path="/test" element="test-element" bindRouter></app-route>
</app-router>
test-element:
<dom-module id="test-element">
<template >
<a href="#/home">Home</a>
</template>
<script>
addEventListener('WebComponentsReady', function() {
Polymer({
is: "test-element"
});
});
</script>
</dom-module>
And home-element just says "hello world" My problem is the url gets updated but the page does not change. Also when I type any url directly to the browser I need to hit "enter" two times to force it to refresh in order for it to work.
Is this a bug? app-controller dosen't work with polymer 1.x? Or am I doing something wrong?