From 21f56f90b15ef37bb57c4856e9a551019b652095 Mon Sep 17 00:00:00 2001 From: Pierre Romera Date: Fri, 5 Jul 2024 10:50:23 +0000 Subject: [PATCH] doc: uninstall router globally --- .storybook/preview.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/.storybook/preview.js b/.storybook/preview.js index 1434bc93ca..7e13c7c21e 100644 --- a/.storybook/preview.js +++ b/.storybook/preview.js @@ -3,7 +3,6 @@ import { setup } from '@storybook/vue3' import { useArgs } from '@storybook/preview-api' import { styled } from '@storybook/theming' import { withThemeByDataAttribute } from '@storybook/addon-themes' -import { createRouter, createWebHashHistory } from 'vue-router' import { createBootstrap } from 'bootstrap-vue-next' import { createI18n } from 'vue-i18n' import Vue3Toastify from 'vue3-toastify' @@ -14,7 +13,6 @@ import settings from '@/utils/settings' import './preview.scss' setup((app) => { - const router = createRouter({ routes: [], history: createWebHashHistory() }) const bootstrap = createBootstrap({ components: true, directives: true }) const i18n = createI18n({ warnHtmlInMessage: 'off', @@ -27,7 +25,6 @@ setup((app) => { [settings.defaultLocale]: messages } }) - app.use(router) app.use(bootstrap) app.use(i18n) app.use(Vue3Toastify)