carbon-design-system / carbon-components-vue

Vue implementation of the Carbon Design System
http://vue.carbondesignsystem.com
Apache License 2.0
608 stars 178 forks source link

Uncaught TypeError: Cannot read properties of undefined (reading '_c') #1283

Closed RekiDunois closed 3 weeks ago

RekiDunois commented 2 years ago

Summary

I am using vue 3.0 and got this error when going through the Vue Tutorial, and I found that the tutorial is using vue 2.

but I found that the storybook is using @carbon/vue with vue 3, I just don't know how to do it.

Is there any way to use @carbon/vue in vue 3 project?

Relevant information

dependencies info in package.json

  "dependencies": {
    "@carbon/icons-vue": "^10.44.0",
    "@carbon/type": "^10.38.0",
    "@carbon/vue": "^2.40.0",
    "@types/carbon-components": "^10.27.1",
    "carbon-components": "^10.49.0",
    "core-js": "^3.6.5",
    "sass": "^1.44.0",
    "sass-loader": "10",
    "vue": "^3.0.0",
    "vue-router": "4"
  },
  "devDependencies": {
    "@vue/cli-plugin-babel": "~4.5.0",
    "@vue/cli-plugin-eslint": "~4.5.0",
    "@vue/cli-service": "~4.5.0",
    "@vue/compiler-sfc": "^3.0.0",
    "babel-eslint": "^10.1.0",
    "eslint": "^6.7.2",
    "eslint-plugin-vue": "^7.0.0"
  },
lee-chase commented 2 years ago

Not sure @RekiDunois. A start has been made on a Vue 3 implementation but it's nowhere near complete https://github.com/carbon-design-system/carbon-components-vue/tree/main/packages/v3

As Vue 3 is not currently a priority for the contributors the implementation is somewhat stalled.

github-actions[bot] commented 3 months ago

This issue has been marked as stale because it has required additional info or a response from the author for over 14 days. When you get the chance, please comment with the additional info requested. Otherwise, this issue will be closed in 14 days.

github-actions[bot] commented 3 weeks ago

This issue has been closed because it has received no activity for 28 days.