Skip to content

Commit

Permalink
doc: uninstall router globally
Browse files Browse the repository at this point in the history
  • Loading branch information
pirhoo committed Jul 5, 2024
1 parent d71331e commit 21f56f9
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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',
Expand All @@ -27,7 +25,6 @@ setup((app) => {
[settings.defaultLocale]: messages
}
})
app.use(router)
app.use(bootstrap)
app.use(i18n)
app.use(Vue3Toastify)
Expand Down

0 comments on commit 21f56f9

Please sign in to comment.