Welcome Guest, Not a member yet? Register   Sign In
Polymer - Google

Hi, I don't know anything about Polymer but the problem you describe is of hard coded relative links that are wrong. Surely Polymer gives you a way to do relative links so you can use /assets/js/myjsfile.js which at least is relative to the root and can be made to work. Links that start without the / are relative to the page the link is on. That is a problem.

Also, surely Polymer can do full links, so you control the entire link http://www.mysite.com/assets/js/myjsfile.js etc. That would also solve the problem.

The other possible answer is to use polymer generated html that does not include js, css links and add them after from the controller in normally generated views.

There are so many things that could be causing the issue but there are also many possible solutions. The aim is to get away from relative links that depend on the url of the page the link is on.

Hope that helps, and makes sense,


Messages In This Thread
Polymer - Google - by Mbanolas - 01-18-2016, 06:40 PM
RE: Polymer - Google - by PaulD - 01-22-2016, 04:13 AM

Theme © iAndrew 2016 - Forum software by © MyBB