You may find following discussions interesting https://github.com/w3c/webcomponents/issues/645
There are ideas to make it a Web standard. Regards, Tomek On Wednesday, 5 September 2018 10:35:39 UTC+2, [email protected] wrote: > > Hi there, > > i'm still confused. I try to extract the html template from my polymer > component into a standalone html file. For polymer 2 i found some examples, > but they don't work for my polymer 3 project. I tried something like the > following, but it fails. > > import * as template from './pm.template.html'; > > .... > > static get template() { > return template; > } > > > > So as simple question, it is possible to separate the template as html > file (not a js file) & if yes, how? > > Thanks for your help > > ciao Torsten > 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/5ae7fa02-7301-46b5-99f4-ec73011368c5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
