2026-05-08 16:29:42 +03:00
|
|
|
import { defineSetupVue3 } from '@histoire/plugin-vue';
|
2026-05-12 20:15:09 +03:00
|
|
|
import { createPinia } from 'pinia';
|
2026-05-08 16:59:00 +03:00
|
|
|
import { createMemoryHistory, createRouter } from 'vue-router';
|
2026-05-08 16:29:42 +03:00
|
|
|
import { vuetify } from './plugins/vuetify';
|
|
|
|
|
|
|
|
|
|
export const setupVue3 = defineSetupVue3(({ app }) => {
|
2026-05-08 16:59:00 +03:00
|
|
|
const router = createRouter({
|
|
|
|
|
history: createMemoryHistory(),
|
|
|
|
|
routes: [
|
|
|
|
|
{ path: '/', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/login', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/register', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/forgot', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/2fa', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/recovery', component: { template: '<div />' } },
|
2026-05-12 20:15:09 +03:00
|
|
|
{ path: '/recovery-use', component: { template: '<div />' } },
|
2026-05-08 17:21:19 +03:00
|
|
|
{ path: '/dashboard', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/deals', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/kanban', component: { template: '<div />' } },
|
2026-05-12 20:15:09 +03:00
|
|
|
{ path: '/projects', component: { template: '<div />' } },
|
2026-05-08 17:21:19 +03:00
|
|
|
{ path: '/reminders', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/billing', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/reports', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/managers', component: { template: '<div />' } },
|
|
|
|
|
{ path: '/settings', component: { template: '<div />' } },
|
2026-05-08 16:59:00 +03:00
|
|
|
],
|
|
|
|
|
});
|
2026-05-08 16:29:42 +03:00
|
|
|
app.use(vuetify);
|
2026-05-08 16:59:00 +03:00
|
|
|
app.use(router);
|
2026-05-12 20:15:09 +03:00
|
|
|
app.use(createPinia());
|
2026-05-08 16:29:42 +03:00
|
|
|
});
|