Eric Knudtson
Eric Knudtson

Reputation: 2583

How to load Polymer components from multiple hosts?

I am attempting to use Polymer components loaded onto a page from multiple hosts. This causes an error as each component includes it's own local Polymer.html from each host. See Polymer Github issue #357:

https://github.com/Polymer/polymer/issues/357

As a remedy I want to point all of my components to a public Polymer.html however there is no official Polymer CDN. Is another solution possible?

Upvotes: 1

Views: 96

Answers (1)

Ümit
Ümit

Reputation: 17489

In the Polymer Web Startet kit the all the Polymer elements are added to a single elements.html and then vulcanize will concatinate them into a single import.

Alternatively you could use the Polymer Magic Server but this is rather for development than for production.

Upvotes: 1

Related Questions