// Import the router import { RouterFactory } from 'meteor/akryum:vue-router2' // Components import Home from '/imports/ui/views/Home' import Page from '/imports/ui/views/Page.vue' RouterFactory.configure(factory => { factory.addRoutes([ { path: '/', name: 'home', component: Home, }, { path: '/page', name: 'page', component: Page, }, ]) })