Naming conflicts in unplugin-vue-component
Background 一般 vue 项目中都会用 unplugin-vue-components/vite 这个插件,用来动态引入 vue 组件,无需写 import xx from xxx。 import Components from 'unplugin-vue-components/vite' import { AntDesignVueResolver } from 'unplugin-vue-components/resolvers' Components({ // relative paths to the directory to search for components. dirs: ['src/components'], // search for subdirectories deep: true, // valid file extensions for