feat(projects): 添加全局组件自动引入注册

This commit is contained in:
Soybean
2022-03-12 19:55:02 +08:00
parent 094dca961f
commit f5a043b11a
32 changed files with 77 additions and 35 deletions

View File

@ -14,7 +14,7 @@ export default (srcPath: string) => {
defaultClass: 'inline-block',
}),
Components({
dts: false,
dts: true,
resolvers: [IconsResolver({ customCollections: ['custom'], componentPrefix: 'icon' })],
}),
];