use polymer element in another app

18 views
Skip to first unread message

sepide mahmoodi

unread,
Sep 18, 2017, 3:48:46 PM9/18/17
to Polymer
hi
i try to use element that create in my polymer app in another html page.
this .html page is a single page and exist out of polymer project.
but dont shown this element .
i import element and polymer.html in .html page but element dont work.
each polymer element is component, right?
but why we dont use polymer element in another apps and html pages?

Daniel Llewellyn

unread,
Sep 18, 2017, 4:02:19 PM9/18/17
to polym...@googlegroups.com
On 18/09/17 20:48, sepide mahmoodi wrote:
> hi
> i try to use element that create in my polymer app in another html page.
> this .html page is a single page and exist out of polymer project.
> but dont shown this element .
> i import element and polymer.html in .html page but element dont work.
> each polymer element is component, right?

Did you also load the webcomponentsjs polyfill?

> but why we dont use polymer element in another apps and html pages?

There is no reason that you cannot use polymer-based elements in any web
page. There is nothing special about a "polymer app".
Reply all
Reply to author
Forward
0 new messages