import { createRouter, createWebHistory } from 'vue-router' import * as Pages from '@/pages' /** * Configures application routing. Add page to pages/index and then add to route table here. */ export default new createRouter({ history: createWebHistory(), routes: [ { path: '/', name: 'Home', component: Pages.Index, }, { path: '/browse', name: 'Browse', component: Pages.Browse, }, { path: '/library', name: 'Library', component: Pages.Library, }, { path: '/project', name: 'Project', component: Pages.Project, }, { path: '/settings', name: 'Settings', component: Pages.Settings, }, ], linkActiveClass: 'router-link-active', linkExactActiveClass: 'router-link-exact-active', })