import RouterInterface from "varie/lib/routing/RouterInterface" ; import middleware from "./middleware" ; import ErrorViews from "@views/errors" ; import Welcome from "@views/Welcome.vue" ; export default function ( $router ) { $router . route ( "/" , Welcome ) ; $router . route ( "*" , ErrorViews . Error404 ) ; }