UNPKG

@arco-plugins/vite-vue

Version:

For Vite build, load Arco Design styles on demand

15 lines (14 loc) 413 B
import type { Plugin } from 'vite'; declare type Vars = Record<string, any>; declare type Style = boolean | 'css'; interface PluginOption { theme?: string; iconBox?: string; modifyVars?: Vars; style?: Style; varsInjectScope?: (string | RegExp)[]; componentPrefix?: string; iconPrefix?: string; } export default function vitePluginArcoImport(options?: PluginOption): Plugin; export {};