UNPKG

t-fighting-design

Version:

Fighting design can quickly build interactive interfaces in vue3 applications, which looks good.

20 lines (19 loc) 388 B
import { h as r, render as n } from "vue"; import t from "../../loading-bar/src/index2.js"; const m = () => ({ start: () => { const o = r(t); n(o, document.body); }, finish: () => { const o = r(t, { type: "finish" }); n(o, document.body); }, error: () => { const o = r(t, { type: "error" }); n(o, document.body); } }); export { m as useLoadingBar };