feat: 项目结构重构优化
This commit is contained in:
@@ -83,8 +83,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
|
||||
// 指定自定义组件位置(默认:src/components)
|
||||
dirs: ["src/components", "src/**/components"],
|
||||
// 导入组件类型声明文件路径 (false:关闭自动生成)
|
||||
dts: false,
|
||||
// dts: "src/types/components.d.ts",
|
||||
dts: "src/types/components.d.ts",
|
||||
}),
|
||||
] as PluginOption[],
|
||||
// 预加载项目必需的组件
|
||||
|
||||
Reference in New Issue
Block a user