On Thursday, December 31, 2015 at 7:36:35 PM UTC, Carl Whalley wrote:
>
> Hi - I'm struggling with this, mainly because I want to combine Polymers 
> local offline routing with the online session management Resin provides. 
> I'm sure there are only 3 changes I need to
>
 
After more work I can show where the trouble is. 

1. Install the starter kit with yeoman and run polyserve.

2. Notice the urls are localhost:5000 for Home, localhost:5000/users for 
Users etc. We want localhost:5000/example.com, 
localhost:5000/example.com/users - even though there is no folder 
"example.com". The files are still served from the default.

3. In routing.html set the page hashbang from true to false.

4. Edit app.js so that at line 19 the app.BaseUrl = '/example.com/';

5. Mouse over the menu links and see the urls look correct...

6. ...Until clicked, when the popup reports every url is not found and 
returns you to the Home screen.

So - what else should I edit to fix this please?

>
>

Follow Polymer on Google+: plus.google.com/107187849809354688692
--- 
You received this message because you are subscribed to the Google Groups 
"Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/polymer-dev/190cf1da-8fd9-440e-a54d-f6a0c9a79c3f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to