mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-11 21:07:28 -08:00
use a simple router
This commit is contained in:
parent
74c1de9e38
commit
906dffe84c
|
@ -10,7 +10,7 @@ import type { Telemetry } from '@/plugins/telemetry';
|
|||
import vueJsonPretty from 'vue-json-pretty';
|
||||
import { merge } from 'lodash-es';
|
||||
import type { TestingPinia } from '@pinia/testing';
|
||||
import router from '@/router';
|
||||
import { createRouter, createWebHistory } from 'vue-router';
|
||||
|
||||
export type RenderComponent = Parameters<typeof render>[0];
|
||||
export type RenderOptions = Parameters<typeof render>[1] & {
|
||||
|
@ -39,7 +39,10 @@ const defaultOptions = {
|
|||
GlobalComponentsPlugin,
|
||||
GlobalDirectivesPlugin,
|
||||
TelemetryPlugin,
|
||||
router,
|
||||
createRouter({
|
||||
history: createWebHistory(),
|
||||
routes: [],
|
||||
}),
|
||||
],
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue