You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.
Hi and thanks for your work so far on this plug-in.
Problem
I keep my core nuxt directories in a src folder in the root of my projects, using the srcDir option in NuxtConfig.
To get storybook-addon-nuxt to work with my setup, I need to include a components folder in the root, with a dummy component. I can get by with this work-around, but it would be great if auto-imports worked with this configuration.
<!-- ./components/StorybookAddonNuxtFix.vue -->
<template>
<h1>:)</h1>
<!--
This component is a workaround for a bug in the Nuxt Storybook addon.
@link: https://github.com/hirotaka/storybook-addon-nuxt/issues/15
-->
</template>
The text was updated successfully, but these errors were encountered:
miclgael
changed the title
feat: add support for nuxt.config.js|ts's srcDir option
feature request: add support for nuxt.config.js|ts's srcDir option
Jun 24, 2023
Hi and thanks for your work so far on this plug-in.
Problem
I keep my core nuxt directories in a
src
folder in the root of my projects, using thesrcDir
option in NuxtConfig.To get
storybook-addon-nuxt
to work with my setup, I need to include acomponents
folder in the root, with a dummy component. I can get by with this work-around, but it would be great if auto-imports worked with this configuration.Docs
https://nuxt.com/docs/api/configuration/nuxt-config#srcdir
Screenshot
Workaround
The text was updated successfully, but these errors were encountered: