Skip to content

Commit fcfb4bc

Browse files
committed
docs(readme): add special configuration when using Spring
1 parent ad83c64 commit fcfb4bc

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,13 @@ Then, follow these steps for creating a contribution:
8888
This add-on is distributed under Apache License 2.0. For license terms, see LICENSE.txt.
8989

9090
TwinColGrid Add-on is written by Flowing Code S.A.
91+
92+
## Special configuration when using Spring
93+
94+
By default, Vaadin Flow only includes ```com/vaadin/flow/component``` to be always scanned for UI components and views. For this reason, the add-on might need to be allowed in order to display correctly.
95+
96+
To do so, just add ```com.flowingcode``` to the ```vaadin.allowed-packages``` property in ```src/main/resources/application.properties```, like:
97+
98+
```vaadin.allowed-packages = com.vaadin,org.vaadin,dev.hilla,com.flowingcode```
99+
100+
More information on Spring scanning configuration [here](https://vaadin.com/docs/latest/integrations/spring/configuration/#configure-the-scanning-of-packages).

0 commit comments

Comments
 (0)