Skip to content

Commit

Permalink
chore: 增加类型声明目录
Browse files Browse the repository at this point in the history
  • Loading branch information
yulimchen committed Nov 5, 2023
1 parent b43fd39 commit 2dc302b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 24 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ coverage
*.njsproj
*.sln
*.sw?

/src/typings/components.d.ts
24 changes: 0 additions & 24 deletions components.d.ts

This file was deleted.

File renamed without changes.
1 change: 1 addition & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export default defineConfig(({ mode }) => {
mockDevServerPlugin(),
// vant 组件自动按需引入
Components({
dts: "src/typings/components.d.ts",
resolvers: [VantResolver()]
}),
// svg icon
Expand Down

0 comments on commit 2dc302b

Please sign in to comment.