Ryan Wang 👍
信息如下
C:\Users\yang'zi'de'mu'ou>pnpm --version
8.10.0
C:\Users\yang'zi'de'mu'ou>npm --version
9.5.0
C:\Users\yang'zi'de'mu'ou>node --version
v18.15.0
package.json文件
"dependencies": {
"@"halo-dev"#4/components": "^1.5.0",
"@"halo-dev"#4/console-shared": "^2.6.0",
"canvas-confetti": "^1.6.0",
"vue": "^3.3.4"
},
"devDependencies": {
"@"halo-dev"#4/ui-plugin-bundler-kit": "^1.0.0",
"@iconify/json": "^2.2.76",
"@rushstack/eslint-patch": "^1.3.1",
"@types/canvas-confetti": "^1.6.0",
"@types/jsdom": "^20.0.1",
"@types/node": "^16.18.35",
"@vitejs/plugin-vue": "^3.2.0",
"@vitejs/plugin-vue-jsx": "^2.1.1",
"@vue/eslint-config-prettier": "^7.1.0",
"@vue/eslint-config-typescript": "^11.0.3",
"@vue/test-utils": "^2.3.2",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.42.0",
"eslint-plugin-vue": "^9.14.1",
"jsdom": "^19.0.0",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"sass": "^1.63.3",
"typescript": "~4.7.4",
"unplugin-icons": "^0.15.3",
"vite": "^4.5.0",
"vitest": "^0.24.5",
"vue-tsc": "^1.6.5"
}
而且发现将env.d.ts下的 export default Vue;注释掉之后上面的属性值就不报错了😥