I try to create a vaadin component with polymer. I have used vaadin/flow-spring-tutorial as starting point. But I don't understand how to edit a template.
The template looks like this:
<!-- Defines the example-template element -->
<dom-module id="example-template">
<template>
<span>[[message]]</span>
</template>
<!-- Polymer boilerplate to register the example-template element -->
<script>
class ExampleTemplate extends Polymer.Element {
static get is() {
return 'example-template'
}
}
customElements.define(ExampleTemplate.is, ExampleTemplate);
</script>
</dom-module>
When I edit something. E.g.
<span>[[message]]!!TEST</span
It doesn't has any effect after restarting the embedded webserver. The output is still
Hello from bean org.vaadin.spring.tutorial.Greeter@xxxxx
There is no directory that contains a compiled or cached version of this template and I don't know what I have to do to make the change take effect.