8 lines
228 B
TypeScript

import { createStyleImportPlugin, NutuiResolve, VantResolve } from 'vite-plugin-style-import';
export const ConfigStyleImport = () => {
return createStyleImportPlugin({
resolves: [NutuiResolve(), VantResolve()],
});
};