Vue.component('nav-router', { template: `
`, }); const routes = [ { path: "/", component: HomeRouter }, { path: "/home", component: HomeRouter }, { path: "/files", component: FileRouter }, { path: "/createMessage", component: CreateMsgRouter }, { path: "/bookmark", component: BookmarkRouter }, { path: "/profil", component: ProfilRouter }, ]; const router = new VueRouter({ routes, linkActiveClass: 'is-active' });