Skip to content

Commit

Permalink
fixing pinia errors in local storybook
Browse files Browse the repository at this point in the history
  • Loading branch information
stephiescastle committed Jul 11, 2024
1 parent f07e150 commit c19c027
Show file tree
Hide file tree
Showing 5 changed files with 209 additions and 408 deletions.
3 changes: 2 additions & 1 deletion apps/vue-storybook/.storybook/withGlobals.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { useEffect, useGlobals } from '@storybook/preview-api'
import { useThemeStore } from '@explorer-1/vue/src/store/theme'
// intentionally importing from node_modules path to avoid pinia initialization errors
import { useThemeStore } from './../node_modules/@explorer-1/vue/src/store/theme'
import { type Explorer1Theme } from '@explorer-1/vue/src/interfaces'

export const getConfig = (config) => {
Expand Down
197 changes: 0 additions & 197 deletions apps/vue-storybook/auto-imports.d.ts

This file was deleted.

Loading

0 comments on commit c19c027

Please sign in to comment.