import { createRouter, createWebHashHistory } from 'vue-router'; import Dashboard from './src/pages/Dashboard.vue'; import Sections from './src/pages/Sections.vue'; const routes = [ { path: '/', name: 'dashboard', component: Dashboard }, { path: '/sections', name: 'Seções', component: Sections } ] const router = createRouter({ history: createWebHashHistory(), routes }) export default router;