mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
15 lines
408 B
TypeScript
15 lines
408 B
TypeScript
import { defineSetupVue3 } from '@histoire/plugin-vue';
|
|
import { createI18n } from 'vue-i18n';
|
|
import { createMemoryHistory, createRouter } from 'vue-router';
|
|
|
|
export const setupVue3 = defineSetupVue3(({ app }) => {
|
|
app.use(
|
|
createRouter({
|
|
history: createMemoryHistory(),
|
|
routes: [{ path: '/:catchAll(.*)', name: 'all', component: { render: () => null } }],
|
|
}),
|
|
);
|
|
|
|
app.use(createI18n({}));
|
|
});
|