Open
storybookjs/storybook
#29179Description
openedon Sep 17, 2024
Getting above error when adding storybook. It is correctly picking up .stories.ts files
.storybook/main
import type { StorybookConfig } from "@storybook-vue/nuxt";
const config: StorybookConfig = {
stories: [
"stories/**/*.mdx",
"stories/**/*.stories.@(js|jsx|mjs|ts|tsx)",
"../components/**/*.stories.@(js|jsx|mjs|ts|tsx)",
],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials",
"@storybook/addon-interactions",
],
framework: {
name: "@storybook-vue/nuxt",
options: {},
},
docs: {
autodocs: "tag",
},
};
export default config;
nuxt config
modules: [
"nuxt-quasar-ui",
"@vueuse/nuxt",
"@pinia/nuxt",
"@pinia-plugin-persistedstate/nuxt",
"@formkit/auto-animate/nuxt",
"@hebilicious/vue-query-nuxt",
"@nuxt/eslint",
"@nuxtjs/i18n",
"nuxt-monaco-editor",
"nuxt-lodash",
"@nuxtjs/storybook",
],
package.json
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxt/eslint": "^0.5.0",
"@nuxt/test-utils": "^3.14.0",
"@nuxtjs/i18n": "latest",
"@nuxtjs/storybook": "^8.2.0",
"@pinia-plugin-persistedstate/nuxt": "^1.2.1",
"@storybook/addon-essentials": "^8.3.1",
"@types/jsurl": "^0.1.2",
"@types/lodash": "^4.17.7",
"@types/md5": "^2.3.5",
"@types/sanitize-html": "^2.11.0",
"drizzle-kit": "latest",
"eslint": "^9.8.0",
"eslint-plugin-prettier": "^5.1.3",
"nuxt": "^3.11.2",
"nuxt-lodash": "latest",
"nuxt-monaco-editor": "latest",
"nuxt-quasar-ui": "^2.0.6",
"pg": "^8.11.3",
"prettier": "^3.3.2",
"sass": "^1.69.5",
"typescript": "^5.4.5",
"vite-plugin-node-polyfills": "^0.22.0",
"vitest": "^2.0.4",
"vue": "^3.3.10",
"vue-component-type-helpers": "^2.0.6",
"vue-router": "^4.2.5"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Metadata
Assignees
Labels
Needs a minimal reproductionNeeds a minimal reproductionSomething isn't workingSomething isn't working