I would like to start my application (and add-on component) in npm mode.
My original goal is to use a polymer component that I made earlier, and use it as a dependency in the Vaadin Add-On project (npm dependency, I suppose). And then the Vaadin add-on would be used in the main application (maven dep).
However when running the add-on component (mvn jetty:run) I get the message that I should convert my app to npm mode. Now it came to my knowledge, that the beverage sample app: https://github.com/vaadin/beverage-starter-flow should be configured to run in npm mode, but what are the key points for that?
There is no exact steps to take documentation at the time, but the steps are basically to add to the application pom.xml <build> the vaadin-maven-plugin with the prepare-frontend and build-frontend goals.
There is no exact steps to take documentation at the time, but the steps are basically to add to the application pom.xml <build> the vaadin-maven-plugin with the prepare-frontend and build-frontend goals.