We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ts vue3 node v16.14.2 引入之后就报错:
import { Workbook } from 'xmind'; console.log("🚀 ~ file: index.vue:4 ~ Workbook:", Workbook)
报错‘TpeError: Class extends value undefined is not a constructor or null’ 依赖如下
"dependencies": { "@iconify-json/carbon": "^1.1.16", "@pureadmin/table": "^2.0.0", "@pureadmin/utils": "^1.8.5", "@soerenmartius/vue3-clipboard": "^0.1.2", "@unocss/reset": "^0.50.6", "@vitejs/plugin-legacy": "^4.0.2", "@vitejs/plugin-vue": "^4.1.0", "@vitejs/plugin-vue-jsx": "^3.0.1", "@vue-macros/volar": "^0.9.1", "@vueuse/core": "^9.13.0", "@vueuse/integrations": "^9.13.0", "@vueuse/motion": "2.0.0-beta.12", "autoprefixer": "^10.4.14", "axios": "^1.3.4", "dayjs": "^1.11.7", "echarts": "^5.4.1", "element-plus": "^2.3.1", "lodash-es": "^4.17.21", "nprogress": "^0.2.0", "pinia": "^2.0.33", "pinia-plugin-persistedstate": "^3.1.0", "postcss": "^8.4.21", "postcss-flexbugs-fixes": "^5.0.2", "postcss-html": "^1.5.0", "postcss-scss": "^4.0.6", "qs": "^6.11.1", "rollup-plugin-visualizer": "^5.9.0", "sass": "^1.59.3", "typescript": "^5.0.2", "unocss": "^0.50.6", "unplugin-auto-import": "^0.15.1", "unplugin-vue-components": "^0.24.1", "unplugin-vue-macros": "^1.10.2", "vform3-builds": "^3.0.10", "vite": "^4.2.1", "vite-plugin-cdn-import": "^0.3.5", "vite-plugin-compression": "^0.5.1", "vite-plugin-html": "^3.2.0", "vite-plugin-imagemin": "^0.6.1", "vite-plugin-mkcert": "^1.13.3", "vite-plugin-style-import": "^2.0.0", "vite-plugin-svg-icons": "^2.0.1", "vue": "^3.2.47", "vue-router": "^4.1.6", "xmind": "^2.2.28" }, "devDependencies": { "@antfu/eslint-config": "^0.37.0", "@commitlint/cli": "^17.4.4", "@commitlint/config-conventional": "^17.4.4", "@typescript-eslint/eslint-plugin": "^5.56.0", "chalk": "^4.0.0", "commitizen": "^4.3.0", "cz-git": "^1.6.1", "eslint": "^8.36.0", "eslint-config-prettier": "^8.8.0", "eslint-config-standard-with-typescript": "^34.0.1", "eslint-plugin-import": "^2.27.5", "eslint-plugin-n": "^15.6.1", "eslint-plugin-promise": "^6.1.1", "eslint-plugin-vue": "^9.9.0", "husky": "^8.0.3", "lint-staged": "^13.2.0", "prettier": "^2.8.6", "pretty-quick": "^3.1.3", "stylelint": "^15.3.0", "stylelint-config-prettier": "^9.0.5", "stylelint-config-standard": "^31.0.0", "stylelint-config-standard-scss": "^7.0.1", "stylelint-order": "^6.0.3", "taze": "^0.9.1", "vue-tsc": "^1.2.0" },
The text was updated successfully, but these errors were encountered:
怎么还没解决呢
Sorry, something went wrong.
非常抱歉!一直在忙别的事情。今天测试了下这个问题~ 可能需要点时间来解决
目前对 Vue3 无法支持,但可以使用 Vue2
danielsss
No branches or pull requests
ts vue3 node v16.14.2 引入之后就报错:
import { Workbook } from 'xmind';
console.log("🚀 ~ file: index.vue:4 ~ Workbook:", Workbook)
报错‘TpeError: Class extends value undefined is not a constructor or null’ 依赖如下
"dependencies": {
"@iconify-json/carbon": "^1.1.16",
"@pureadmin/table": "^2.0.0",
"@pureadmin/utils": "^1.8.5",
"@soerenmartius/vue3-clipboard": "^0.1.2",
"@unocss/reset": "^0.50.6",
"@vitejs/plugin-legacy": "^4.0.2",
"@vitejs/plugin-vue": "^4.1.0",
"@vitejs/plugin-vue-jsx": "^3.0.1",
"@vue-macros/volar": "^0.9.1",
"@vueuse/core": "^9.13.0",
"@vueuse/integrations": "^9.13.0",
"@vueuse/motion": "2.0.0-beta.12",
"autoprefixer": "^10.4.14",
"axios": "^1.3.4",
"dayjs": "^1.11.7",
"echarts": "^5.4.1",
"element-plus": "^2.3.1",
"lodash-es": "^4.17.21",
"nprogress": "^0.2.0",
"pinia": "^2.0.33",
"pinia-plugin-persistedstate": "^3.1.0",
"postcss": "^8.4.21",
"postcss-flexbugs-fixes": "^5.0.2",
"postcss-html": "^1.5.0",
"postcss-scss": "^4.0.6",
"qs": "^6.11.1",
"rollup-plugin-visualizer": "^5.9.0",
"sass": "^1.59.3",
"typescript": "^5.0.2",
"unocss": "^0.50.6",
"unplugin-auto-import": "^0.15.1",
"unplugin-vue-components": "^0.24.1",
"unplugin-vue-macros": "^1.10.2",
"vform3-builds": "^3.0.10",
"vite": "^4.2.1",
"vite-plugin-cdn-import": "^0.3.5",
"vite-plugin-compression": "^0.5.1",
"vite-plugin-html": "^3.2.0",
"vite-plugin-imagemin": "^0.6.1",
"vite-plugin-mkcert": "^1.13.3",
"vite-plugin-style-import": "^2.0.0",
"vite-plugin-svg-icons": "^2.0.1",
"vue": "^3.2.47",
"vue-router": "^4.1.6",
"xmind": "^2.2.28"
},
"devDependencies": {
"@antfu/eslint-config": "^0.37.0",
"@commitlint/cli": "^17.4.4",
"@commitlint/config-conventional": "^17.4.4",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"chalk": "^4.0.0",
"commitizen": "^4.3.0",
"cz-git": "^1.6.1",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.6.1",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.9.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.0",
"prettier": "^2.8.6",
"pretty-quick": "^3.1.3",
"stylelint": "^15.3.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^31.0.0",
"stylelint-config-standard-scss": "^7.0.1",
"stylelint-order": "^6.0.3",
"taze": "^0.9.1",
"vue-tsc": "^1.2.0"
},
The text was updated successfully, but these errors were encountered: