Skip to content

Commit 2ce0c54

Browse files
committed
nuxt+storybook integration fix
1 parent a90e393 commit 2ce0c54

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

nuxt.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ export default defineNuxtConfig({
1414
'@vite-pwa/nuxt',
1515
'@vueuse/nuxt',
1616
'@nuxtjs/i18n',
17-
'@nuxtjs/color-mode',
17+
// temporary disable for storybook
18+
// '@nuxtjs/color-mode',
1819
],
1920

2021
colorMode: {
@@ -141,7 +142,8 @@ export default defineNuxtConfig({
141142
experimental: {
142143
entryImportMap: false,
143144
typescriptPlugin: true,
144-
viteEnvironmentApi: true,
145+
// temporary disable for storybook
146+
viteEnvironmentApi: false,
145147
typedPages: true,
146148
},
147149

0 commit comments

Comments
 (0)