UNPKG

@winner-fed/plugin-vant

Version:

A Vant plugin adapted for WinJS, which supports automatic on-demand import of the Vant component library for both Vue 2 and Vue 3.

24 lines (23 loc) 598 B
/** * vant * @Author: liwb (lwbhtml@163.com) * @Date: 2024-08-13 09:44 * @LastEditTime: 2024-08-13 09:44 * @Description: vant Vue2 的 resolver */ /** * Button->button; ButtonGroup->button-group */ export declare function kebabCase(key: string): string; export declare function VantVue2Resolver(legacyFunction?: []): { type: string; resolve: (componentName: string) => { from: string; sideEffects: string[]; } | undefined; }; export declare function VantVue2Imports(legacyFunction?: Array<string>): { 'vant/es': string[]; } | { 'vant/es'?: undefined; };