From 8a97a33a291ee8099821f384773e162d11f62693 Mon Sep 17 00:00:00 2001 From: jinmh716 Date: Tue, 5 Nov 2024 17:30:23 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BC=98=E5=8C=96=E3=80=91=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E8=87=AA=E5=AE=9A=E4=B9=89=E6=8C=87=E4=BB=A4=E6=B6=88?= =?UTF-8?q?=E9=99=A4IDE=E8=AD=A6=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + web-types.json | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 web-types.json diff --git a/package.json b/package.json index ba540009..a4775dca 100644 --- a/package.json +++ b/package.json @@ -143,6 +143,7 @@ "url": "https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues" }, "homepage": "https://gitee.com/yudaocode/yudao-ui-admin-vue3", + "web-types": "./web-types.json", "engines": { "node": ">= 16.0.0", "pnpm": ">=8.6.0" diff --git a/web-types.json b/web-types.json new file mode 100644 index 00000000..602f2129 --- /dev/null +++ b/web-types.json @@ -0,0 +1,19 @@ +{ + "$schema": "https://json.schemastore.org/web-types", + "framework": "vue", + "name": "name written in package.json", + "version": "version written in package.json", + "contributions": { + "html": { + "types-syntax": "typescript", + "attributes": [ + { + "name": "v-hasPermi" + }, + { + "name": "v-hasRole" + } + ] + } + } +}