UNPKG

vuux

Version:

Vue3 Nuxt3 Nuxt4 组件库

13 lines (12 loc) 245 B
const n = (o, c) => { if (o.install = (e) => { for (const t of [o, ...Object.values(c ?? {})]) e.component(t.name, t); }, c) for (const [e, t] of Object.entries(c)) o[e] = t; return o; }; export { n as withInstall };