Hi,
Great Add-On, but I have a problem:
I have something wrong with my project. I use vaadin version 14.1.25 and latest version of add-on 2.0.1.
The addon only work in development mode, but in production mode it is not showing (other components yes), For packaging for production mode i use: clean package -Pproduction
I have tried to delete the folders:
- target
- node_modules
- package-lock.json
- package.json
Then I followed it up by a clean install but the component still work in dev mode but no in production mode.
Here my profile production:
production true <dependencies>
<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-server-production-mode</artifactId>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<jvmArguments>-Dvaadin.productionMode</jvmArguments>
</configuration>
</plugin>
<plugin>
<groupId>com.vaadin</groupId>
<artifactId>vaadin-maven-plugin</artifactId>
<version>${vaadin.version}</version>
<executions>
<execution>
<goals>
<goal>prepare-frontend</goal>
<goal>build-frontend</goal>
</goals>
<phase>compile</phase>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
Any ideas ?
Thanks