Vaadin flow 12 and java integration with polymer 3 template

Hello,

I am a little bit confused when I want to integrate a java component with polymer 3.
Is it possible to use a polymer 3 javascript template with a java component extends PolymerTemplate as this example in the documentation?
https://vaadin.com/docs/v12/flow/polymer-templates/tutorial-template-basic.html

If not, is there a short example?

Example of my code:
//////// JAVA
@JavaScript("js/myJavascript.js")
@StyleSheet("node_modules/.../mycss.css")
public class MyComponent extends PolymerTemplate<MyComponentModel> {
    public MyComponent(){
    }
}
public interface MyComponentModel  extends TemplateModel {
}

//////POLYMER 3
import {PolymerElement, html} from '.../...';
import '.../....js';

class MyComponentElement extends PolymerElement {
  static get template() {
	return html`
	   <div id="test">
          <div id="container"></div>
     </div>
	`;
  }
}
customElements.define('my-element', MyComponentElement);
 ...

Thank you for your help!

Hi Bruno. Unfortunately you have to still use Polymer 2 with Vaadin Flow. We have plans to add P3, ES6 modules and npm support in 2019, here is the issue to +1 and follow for timetable: https://github.com/vaadin/flow/issues/4561

Just a follow up on this one.

Providing we use a polymer 2.0 template when binding to java can the polymer 2.0 template utilise polymer 3.0 components?

I’m assuming that vaadin doesn’t need to parse child components (past picking up the tag and the ID).