Docs

Documentation versions (currently viewingVaadin 25.4 (pre-release))

Views & Routes

See your application’s views and their routes, and add a view.

The Views & Routes panel lists your application’s views and their routes. Add a view there, and Copilot creates its class.

Add a view and open it
  1. In Edit mode, click Views & Routes in the toolbar. The panel lists each view’s class and route.

  2. Click +, and type a title in the dialog. Copilot fills in the route and the class name from the title.

  3. Scroll down to choose what the view starts with: a template, such as a dashboard or a form, or an empty view.

  4. Click Create. Copilot creates the class and lists the new view. The dialog stays open for another view, so close it when you’re done.

  5. Click its route to open it. The new view is a placeholder, ready for components.

When the New View Doesn’t Show

Without the Vaadin plugin for your IDE, Copilot creates the class and asks you to restart the server to see the new view.