Skip to content

Commit a3754cc

Browse files
committed
chore:将组件内容生成的类型声明加入 gitignore 中。
将组件内容生成的类型声明加入 gitignore 中,以免出现频繁更改导致 git 监测到项目内容一直变动的问题。 影响范围:无
1 parent 7c03a13 commit a3754cc

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,6 @@ node_modules
2828
.git
2929

3030
# visualizer产物
31-
stats.html
31+
stats.html
32+
# 组件内容生成的类型声明,建议把他加入 gitignore 中,以免出现频繁更改导致 git 监测到项目内容一直变动的问题
33+
compnents.d.ts

components.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@ declare module '@vue/runtime-core' {
1212
RouterView: typeof import('vue-router')['RouterView']
1313
Tabbar: typeof import('./src/layout/tabbar/index.vue')['default']
1414
VanButton: typeof import('vant/es')['Button']
15+
VanIcon: typeof import('vant/es')['Icon']
1516
VanTabbar: typeof import('vant/es')['Tabbar']
1617
VanTabbarItem: typeof import('vant/es')['TabbarItem']
18+
VanTag: typeof import('vant/es')['Tag']
1719
}
1820
}

0 commit comments

Comments
 (0)