Vaadin 14 npm mode - Addon packaging

If I have JS files in the frontend folder of the project root, where will it get packaged when we create the jar file for addon distribution?
(When I tried it with STARTER pom files, it was not packaging any of the files from PROJECT_ROOT/frontend)

In bower mode, their HTML equivalent files were under META-INF/resources/frontend/

Hi.

For a Vaadin 14 npm mode add-on you could take a look at the [component-starter]
(https://github.com/vaadin/component-starter-flow).
From there you can get the structure for working with add-on development and see that the
frontend files should be in npm or src/main/resources/META-INF/frontent

[README]
(https://github.com/vaadin/component-starter-flow/blob/master/README.md)

So basically for an add-on the location that the “local” files as put into has not changed.

  • Mikael

Ok, got it. Thanks.