docs: 注释表述合理性调整

This commit is contained in:
haoxr 2023-03-25 10:15:48 +08:00
parent 0bb7cf394b
commit 66fa295c96
1 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
IconsResolver({}) IconsResolver({})
], ],
vueTemplate: true, // 是否在 vue 模板中自动导入 vueTemplate: true, // 是否在 vue 模板中自动导入
dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts') // (false) 配置文件生成位置,默认是根目录 /auto-imports.d.ts dts: path.resolve(pathSrc, 'types', 'auto-imports.d.ts') // 自动导入组件类型声明文件位置,默认根目录; false 关闭自动生成
}), }),
Components({ Components({
@ -88,7 +88,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// 自动导入 Element Plus 组件 // 自动导入 Element Plus 组件
ElementPlusResolver() ElementPlusResolver()
], ],
dts: path.resolve(pathSrc, 'types', 'components.d.ts') // (false) 配置文件生成位置,默认是根目录 /components.d.ts dts: path.resolve(pathSrc, 'types', 'components.d.ts') // 自动导入组件类型声明文件位置,默认根目录; false 关闭自动生成
}), }),
Icons({ Icons({