I am trying 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?
I know, there was a similar question from last Oct ('17), but there was only a way through webpack, but this is not a simple solution in m mind. I hope someone know a better way, or knows something from an upcoming feature.
(Same question inside the polymer google group: google groups polymer )