Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Not working with storybook 7.0.10 #7

Open
s0n4 opened this issue May 10, 2023 · 0 comments
Open

Not working with storybook 7.0.10 #7

s0n4 opened this issue May 10, 2023 · 0 comments

Comments

@s0n4
Copy link

s0n4 commented May 10, 2023

So i am currently setting up a new storybook with version 7 and it seems like this plugin can not handle some necessary imports anymore.

I get the following errors:

ERR! node_modules/@socheatsok78/storybook-addon-vuetify/dist/decorators/withThemeProvider.js:12:8: ERROR: Could not resolve "vuetify/dist/vuetify.min.css"
ERR! node_modules/@socheatsok78/storybook-addon-vuetify/dist/decorators/withThemeProvider.js:14:8: ERROR: Could not resolve "@mdi/font/css/materialdesignicons.min.css"
ERR! node_modules/@socheatsok78/storybook-addon-vuetify/dist/decorators/withVuetify.js:8:42: ERROR: Could not resolve "vue"
ERR! node_modules/@socheatsok78/storybook-addon-vuetify/dist/decorators/withVuetify.js:10:46: ERROR: Could not resolve "vuetify"

My package.json:

{
  "name": "xxx",
  "version": "0.0.0",
  "description": "Vue.js component library Storybook",
  "author": "xxx",
  "private": true,
  "files": [
    "dist",
    "CHANGELOG.md"
  ],
  "scripts": {
    "dev": "vite",
    "build": "vite build",
    "preview": "vite preview",
    "storybook": "storybook dev -p 6006",
    "build-storybook": "storybook build"
  },
  "dependencies": {
    "storybook": "^7.0.10",
    "vue": "^2.7.14",
    "vuetify": "2.6.15"
  },
  "devDependencies": {
    "@mdi/font": "^7.2.96",
    "@mdx-js/react": "^2.3.0",
    "@socheatsok78/storybook-addon-vuetify": "~0.1.9",
    "@storybook/addon-essentials": "^7.0.10",
    "@storybook/addon-interactions": "^7.0.10",
    "@storybook/addon-links": "^7.0.10",
    "@storybook/blocks": "^7.0.10",
    "@storybook/testing-library": "^0.0.14-next.2",
    "@storybook/vue": "^7.0.10",
    "@storybook/vue-vite": "^7.0.10",
    "@vitejs/plugin-vue2": "^2.2.0",
    "@vue/tsconfig": "^0.1.3",
    "eslint-import-resolver-typescript": "^3.5.4",
    "eslint-plugin-storybook": "~0.6.12",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "vite": "^4.3.2",
    "vue-eslint-parser": "^9.1.0",
    "vue-tsc": "^1.0.24"
  },
  "packageManager": "[email protected]",
  "engines": {
    "node": ">=16.0.0"
  }
}
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant