nova-admin/build/plugins/unplugin.ts
2022-08-10 10:19:47 +08:00

15 lines
385 B
TypeScript

import Components from 'unplugin-vue-components/vite';
import { NaiveUiResolver } from 'unplugin-vue-components/resolvers';
import Icons from 'unplugin-icons/vite';
import IconsResolver from 'unplugin-icons/resolver';
export default [
Components({
dts: 'src/types/components.d.ts',
resolvers: [IconsResolver(), NaiveUiResolver()],
}),
Icons({
/* options */
}),
];