编辑器 vscode
开发环境:vite + vue3 + ts + volar ;
标签被 @vue/**/runtime-dom.d.ts 解析为SVG元素,是不是官方 node_modules/@dcloudio/types/uni-app/ 下缺少一个解析
view、text的元素的dom.d.ts文件?
package.json
{
"name": "uni-preset-vue",
"version": "0.0.0",
"license": "MIT",
"scripts": {
"dev:app": "uni -p app",
"dev:custom": "uni -p",
"dev:h5": "uni",
"dev:h5:ssr": "uni --ssr",
"dev:mp-alipay": "uni -p mp-alipay",
"dev:mp-baidu": "uni -p mp-baidu",
"dev:mp-kuaishou": "uni -p mp-kuaishou",
"dev:mp-lark": "uni -p mp-lark",
"dev:mp-qq": "uni -p mp-qq",
"dev:mp-toutiao": "uni -p mp-toutiao",
"dev:mp-weixin": "uni -p mp-weixin",
"dev:quickapp-webview": "uni -p quickapp-webview",
"dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei",
"dev:quickapp-webview-union": "uni -p quickapp-webview-union",
"build:app": "uni build -p app",
"build:custom": "uni build -p",
"build:h5": "uni build",
"build:h5:ssr": "uni build --ssr",
"build:mp-alipay": "uni build -p mp-alipay",
"build:mp-baidu": "uni build -p mp-baidu",
"build:mp-kuaishou": "uni build -p mp-kuaishou",
"build:mp-lark": "uni build -p mp-lark",
"build:mp-qq": "uni build -p mp-qq",
"build:mp-toutiao": "uni build -p mp-toutiao",
"build:mp-weixin": "uni build -p mp-weixin",
"build:quickapp-webview": "uni build -p quickapp-webview",
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
"build:quickapp-webview-union": "uni build -p quickapp-webview-union"
},
"dependencies": {
"@dcloudio/uni-app": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-app-plus": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-components": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-h5": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-helper-json": "^1.0.13",
"@dcloudio/uni-mp-alipay": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-mp-baidu": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-mp-kuaishou": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-mp-lark": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-mp-qq": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-mp-toutiao": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-mp-weixin": "^3.0.0-alpha-3031220220222002",
"@dcloudio/uni-quickapp-webview": "^3.0.0-alpha-3031220220222002",
"pinia": "^2.0.0-rc.10",
"vue": "^3.2.31",
"vue-i18n": "^9.1.9"
},
"devDependencies": {
"@dcloudio/types": "^2.5.17",
"@dcloudio/uni-automator": "^2.0.1-33920220314002",
"@dcloudio/uni-cli-i18n": "^2.0.1-33920220314002",
"@dcloudio/uni-cli-shared": "^2.0.1-33920220314002",
"@dcloudio/uni-migration": "^2.0.1-33920220314002",
"@dcloudio/uni-template-compiler": "^2.0.1-33920220314002",
"@dcloudio/vite-plugin-uni": "^3.0.0-alpha-3031220220222002",
"@dcloudio/vue-cli-plugin-hbuilderx": "^2.0.1-33920220314002",
"@dcloudio/vue-cli-plugin-uni": "^2.0.1-33920220314002",
"@dcloudio/vue-cli-plugin-uni-optimize": "^2.0.1-33920220314002",
"@dcloudio/webpack-uni-mp-loader": "^2.0.1-33920220314002",
"@dcloudio/webpack-uni-pages-loader": "^2.0.1-33920220314002",
"@types/uni-app": "^1.4.4",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"autoprefixer": "^10.4.2",
"babel-plugin-import": "^1.13.3",
"cross-env": "^7.0.3",
"eslint": "^8.10.0",
"eslint-config-google": "^0.14.0",
"eslint-plugin-vue": "^8.5.0",
"jest": "^25.5.4",
"sass": "^1.49.9",
"typescript": "^4.5.2",
"vite": "^2.8.6",
"vue-eslint-parser": "^8.3.0"
}
}