UNPKG

mine-h5-ui

Version:

一款轻量级、模块化基于 Vue3.x 的 H5 前端 UI 组件库 👍

24 lines (23 loc) 599 B
import { createVNode as s, render as c } from "vue"; import { IsType as n } from "../MeAPI/function.js"; import i from "./index.vue.js"; /*! * mine-h5-ui v2.16.0 * Copyright (c) 2025 biaov * @license MIT */ const m = (e) => { const t = {}; if (n("string", e)) t.url = e; else if (n("Object", e)) Object.assign(t, e); else throw new Error(`${e} is not object`); const r = s(i, t), o = document.createElement("div"); c(r, o), document.body.appendChild(o.firstElementChild); }, d = m; d.componentName = i.name; export { d as default };