vant/packages/utils/use/index.js

9 lines
195 B
JavaScript

import useBem from './bem';
import useSfc from './sfc';
import useI18n from './i18n';
export function use(name) {
name = 'van-' + name;
return [useSfc(name), useBem(name), useI18n(name)];
}