Spring Whitelabel Error Page

How do create routes to direct back to Vaadin in Spring, for example /page1 goes through Vaadin vs /#!page. Spring boot at the moment displays its Whitelabel error page.