I\'ve got a (Polymer) web component that I want to make accessible to people in a cross-origin resource sharing (CORS) fashion. That works fine except I\'m not sure how I c
To create relative paths you can use the resolvePath method of your Polymer element. Here's the docs on it
resolvePath
ex: this.resolvePath('x-foo.png')
this.resolvePath('x-foo.png')
Update: resolvePath is replaced with resolveUrl for Polymer 1.0
resolveUrl