IOT平台的后端管理前端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
415 B

import path from "path";
import Components from "unplugin-vue-components/vite";
import { ElementPlusResolver } from "unplugin-vue-components/resolvers";
import { NaiveUiResolver } from "unplugin-vue-components/resolvers";
export default function createComponents() {
return Components({
resolvers: [ElementPlusResolver(), NaiveUiResolver()],
dts: path.resolve("src", "types", "components.d.ts"),
});
}