import { createRouter, createWebHistory } from 'vue-router' import LogView from '../views/LogView.vue' import CommandView from '../views/CommandView.vue' const routes = [ { path: '/', name: 'logs', component: LogView }, { path: '/commands', name: 'commands', component: CommandView } ] const router = createRouter({ history: createWebHistory(), routes }) export default router