签入版本
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* Introduces component library styles on demand.
|
||||
* https://github.com/antfu/unplugin-vue-components
|
||||
*/
|
||||
import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers';
|
||||
|
||||
import Components from 'unplugin-vue-components/vite';
|
||||
|
||||
export function configStyleImportPlugin(isBuild: boolean) {
|
||||
if (!isBuild) {
|
||||
return [];
|
||||
}
|
||||
return Components({
|
||||
resolvers: [AntDesignVueResolver()],
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user