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 enable server push, you need to define the push mode either in the deployment descriptor or with the @Push annotation for the main layout or individual views of your application.
However, that is not true - the Push annotation can only be used in AppShell or the root layout as proven by the customer who got the following exception:
"com.vaadin.flow.server.InvalidApplicationConfigurationException: Found configuration annotations that will not be used in the application.
Move it to a single route/a top router layout/web component of the application.
Non parent Route target:
Please review the documentation, and clarify where exactly the Push annotation can be used.
The text was updated successfully, but these errors were encountered:
https://vaadin.com/docs/v14/flow/advanced/tutorial-push-configuration.html
The chapter suggests that
However, that is not true - the Push annotation can only be used in AppShell or the root layout as proven by the customer who got the following exception:
Please review the documentation, and clarify where exactly the Push annotation can be used.
The text was updated successfully, but these errors were encountered: