import { Route , Router } from '@vaadin/router' ; import './app/home/home.component' ; export const routes = [ { path : '/' , component : 'app-home' , name : 'Home' } , { path : '(.*)' , component : 'app-not-found' } , ] ; const outlet = document . getElementById ( 'outlet' ) ; export const router = new Router ( outlet ) ; router . setRoutes ( routes ) ;