Use CSS Templates

Hi,

before I start working with vaadin, I often used a css template to start my new projects. In these CSS Templates there is mostly one index.html and a css, js and img folder. That’s it.

Is there a way to use these template with vaadin? I copied the index.html and the folders into the frontend/src folder and tried this @HtmlImport("src/index.html") in my MainView.java, but nothing changes.

Thanks Dennis

You could try converting your HTML template into a PolymerTemplate: https://vaadin.com/docs/v10/flow/polymer-templates/tutorial-template-basic.html