Skip to content

Commit

Permalink
revert outdated changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasdiez committed Dec 27, 2024
1 parent e0383e1 commit 8fce808
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
5 changes: 0 additions & 5 deletions packages/nuxt-module/src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,6 @@ export default defineNuxtModule<ModuleOptions>({

logger.verbose('🔌 Storybook Module Setup')

if (nuxt.options.dev) {
// Enable runtimeCompiler for Vue to support templates in stories
nuxt.options.vue.runtimeCompiler = true
}

setupStorybook(options, nuxt)
},
})
4 changes: 0 additions & 4 deletions packages/storybook-addon/src/preset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,6 @@ async function loadNuxtViteConfig(root: string | undefined) {
appId: 'nuxt-app',
buildId: 'storybook',
ssr: false,
// Enable runtime compiler to support Vue templates in stories
vue: {
runtimeCompiler: true,
},
},
})

Expand Down

0 comments on commit 8fce808

Please sign in to comment.