feat: uv-ui 支持 ts by @ttou/uv-typings
This commit is contained in:
parent
58ea1f8867
commit
c130778c6c
@ -107,6 +107,7 @@
|
||||
"@dcloudio/uni-stacktracey": "3.0.0-3090920231225001",
|
||||
"@dcloudio/vite-plugin-uni": "3.0.0-3090920231225001",
|
||||
"@iconify-json/carbon": "^1.1.27",
|
||||
"@ttou/uv-typings": "^1.10.2",
|
||||
"@types/node": "^20.11.5",
|
||||
"@types/wechat-miniprogram": "^3.4.7",
|
||||
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
||||
|
7
pnpm-lock.yaml
generated
7
pnpm-lock.yaml
generated
@ -100,6 +100,9 @@ devDependencies:
|
||||
'@iconify-json/carbon':
|
||||
specifier: ^1.1.27
|
||||
version: 1.1.27
|
||||
'@ttou/uv-typings':
|
||||
specifier: ^1.10.2
|
||||
version: 1.10.2
|
||||
'@types/node':
|
||||
specifier: ^20.11.5
|
||||
version: 20.11.5
|
||||
@ -3797,6 +3800,10 @@ packages:
|
||||
engines: {node: '>=10.13.0'}
|
||||
dev: true
|
||||
|
||||
/@ttou/uv-typings@1.10.2:
|
||||
resolution: {integrity: sha512-aGXUWIuYjqA3dvWXWkrOO1T5yUHZqiXOGNR3sEl37s2xdlUlqXIbP2PMeDnP9fNMyJfemgSX5FZrlfKbYk6ypg==}
|
||||
dev: true
|
||||
|
||||
/@types/babel__core@7.20.5:
|
||||
resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==}
|
||||
dependencies:
|
||||
|
@ -6,6 +6,7 @@
|
||||
|
||||
<template>
|
||||
<view class="mt-10">
|
||||
<uv-button type="primary">button</uv-button>
|
||||
<uv-qrcode ref="qrcode" class="m-auto" size="300px" value="https://h5.uvui.cn"></uv-qrcode>
|
||||
</view>
|
||||
</template>
|
||||
|
@ -17,11 +17,15 @@
|
||||
"@types/wechat-miniprogram",
|
||||
"@uni-helper/uni-app-types",
|
||||
"@uni-helper/uni-ui-types",
|
||||
"@uni-helper/uni-cloud-types"
|
||||
"@uni-helper/uni-cloud-types",
|
||||
"@ttou/uv-typings/shim",
|
||||
"@ttou/uv-typings/v3"
|
||||
]
|
||||
},
|
||||
"vueCompilerOptions": {
|
||||
"target": 3,
|
||||
"nativeTags": ["block", "template", "component", "slot"]
|
||||
},
|
||||
"exclude": ["node_modules"],
|
||||
"include": ["src/**/*.ts", "src/**/*.d.ts", "src/**/*.tsx", "src/**/*.vue", "src/**/*.json"]
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user