Skip to content

Commit dd89659

Browse files
javier-godoypaodb
authored andcommitted
docs: add special configuration when using Spring
1 parent 0e92678 commit dd89659

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
@@ -107,3 +107,13 @@ xterm.focus();
107107
108108
xterm.fit();
109109
```
110+
111+
## Special configuration when using Spring
112+
113+
By default, Vaadin Flow only includes ```com/vaadin/flow/component``` to be always scanned for UI components and views. For this reason, the addon might need to be whitelisted in order to display correctly.
114+
115+
To do so, just add ```com.flowingcode``` to the ```vaadin.whitelisted-packages``` property in ```src/main/resources/application.properties```, like:
116+
117+
```vaadin.whitelisted-packages = com.vaadin,org.vaadin,dev.hilla,com.flowingcode```
118+
119+
More information on Spring whitelisted configuration [here](https://vaadin.com/docs/latest/integrations/spring/configuration/#configure-the-scanning-of-packages).

0 commit comments

Comments
 (0)