Files
kami_frontend/config/plugin/arcoResolver.ts
danial 85a2da5e2f ci: set up continuous integration and delivery pipeline
- Add .drone.yml file to configure CI/CD pipeline
- Set up Docker build and push to private registry
- Add deployment configuration for development and production environments
- Include health check and environment variable support
2025-03-30 22:34:38 +08:00

20 lines
803 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* If you use the template method for development, you can use the unplugin-vue-components plugin to enable on-demand loading support.
* 按需引入
* https://github.com/antfu/unplugin-vue-components
* https://arco.design/vue/docs/start
* Although the Pro project is full of imported components, this plugin will be used by default.
* 虽然Pro项目中是全量引入组件但此插件会默认使用。
*/
import Components from 'unplugin-vue-components/vite';
import { ArcoResolver } from 'unplugin-vue-components/resolvers';
export default function configArcoResolverPlugin() {
const arcoResolverPlugin = Components({
dirs: [], // Avoid parsing src/components. 避免解析到src/components
deep: false,
resolvers: [ArcoResolver()]
});
return arcoResolverPlugin;
}