Hi, Great Add-On, but I have a problem: I have something wrong with my pr

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

Hi, I did other tests and now the component shows even in production mode, but not all buttons are visibile (only the undo/redo)…

I have attached an image

Any Ideas?

Thanks
18237897.png

I have the same issue with production build: the whole widget is invisible. Have you any progress about that?
My pom is the same as yours.

Thanks.

Hi, I have changed vaadin version to 14.2.0, and now the widget is visible, but not all buttons are visibile (only the undo/redo)…