Skip to content

Commit 1c23298

Browse files
YunaiVgitee-org
authored andcommitted
!578 【优化】添加自定义指令消除IDE警告
Merge pull request !578 from jinmh/master
2 parents bf87c46 + 8a97a33 commit 1c23298

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@
143143
"url": "https://gitee.com/yudaocode/yudao-ui-admin-vue3/issues"
144144
},
145145
"homepage": "https://gitee.com/yudaocode/yudao-ui-admin-vue3",
146+
"web-types": "./web-types.json",
146147
"engines": {
147148
"node": ">= 16.0.0",
148149
"pnpm": ">=8.6.0"

web-types.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"$schema": "https://json.schemastore.org/web-types",
3+
"framework": "vue",
4+
"name": "name written in package.json",
5+
"version": "version written in package.json",
6+
"contributions": {
7+
"html": {
8+
"types-syntax": "typescript",
9+
"attributes": [
10+
{
11+
"name": "v-hasPermi"
12+
},
13+
{
14+
"name": "v-hasRole"
15+
}
16+
]
17+
}
18+
}
19+
}

0 commit comments

Comments
 (0)