import { defineSetupVue3 } from '@histoire/plugin-vue'; import { createPinia } from 'pinia'; import { createMemoryHistory, createRouter } from 'vue-router'; import { vuetify } from './plugins/vuetify'; export const setupVue3 = defineSetupVue3(({ app }) => { const router = createRouter({ history: createMemoryHistory(), routes: [ { path: '/', component: { template: '
' } }, { path: '/login', component: { template: '' } }, { path: '/register', component: { template: '' } }, { path: '/forgot', component: { template: '' } }, { path: '/2fa', component: { template: '' } }, { path: '/recovery', component: { template: '' } }, { path: '/recovery-use', component: { template: '' } }, { path: '/dashboard', component: { template: '' } }, { path: '/deals', component: { template: '' } }, { path: '/kanban', component: { template: '' } }, { path: '/projects', component: { template: '' } }, { path: '/reminders', component: { template: '' } }, { path: '/billing', component: { template: '' } }, { path: '/reports', component: { template: '' } }, { path: '/managers', component: { template: '' } }, { path: '/settings', component: { template: '' } }, ], }); app.use(vuetify); app.use(router); app.use(createPinia()); });