You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 6, 2021. It is now read-only.
To switch between npm and pnpm you can use the vaadin.pnpm.enable system property - setting it to true switches to pnpm.
For a Spring Boot based project, you can put vaadin.pnpm.enable = true into the application.properties file.
Then:
Alternatively, the property can be also set to the vaadin-maven-plugin, using pnpmEnable. Note that you need to add it for each plugin definition.
The configuration of the pom.xml is required to switch to pnpm when you are only running mvn commands like mvn package (-Pproduction).
And the configuration in application.properties (if you are using Spring Boot) is required if you don't run.
Few cases with Spring boot:
With the pom.xml configured and no configuration in vaadin.pnpm.enable in application.properties:
run the Application class, npm is used
run mvn spring-boot:run , pnpm is used
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The documentation says:
Then:
The configuration of the pom.xml is required to switch to pnpm when you are only running mvn commands like mvn package (-Pproduction).
And the configuration in application.properties (if you are using Spring Boot) is required if you don't run.
Few cases with Spring boot:
With the pom.xml configured and no configuration in vaadin.pnpm.enable in application.properties:
The text was updated successfully, but these errors were encountered: