shop-app , . , .
, :
- ,
- all
pattern app-route ( , useHashAsPath = true), - , ,
importHref, - ( )
- (CSS, , JS)
, - shop-app, , root .
, , useHashAsPath app-location. false, , URL- hashbang.
1: useHashAsPath = true
, URL- . : <a href="#/tabs/">Tabs</a>.
.
- , .
2: useHashAsPath = false
URL- hashbang, . , , ( ).
-, , (, ).
, . , , , __ROOT__, . :
<a href="__ROOT__/some/page">Some page</a>
gulp-replace - , __ROOT_ /your-document-root , - :
<a href="/your-document-root/some/page">Some page</a>
. . app-route. :
<app-route pattern="__ROOT__/some/page" [...]></app-route> // Other parameters ommited
, CSS, __ROOT__, .
- , .
: https://www.polymer-project.org/1.0/blog/routing