layui/package/document-component/src/entry-client.ts

8 lines
130 B
TypeScript
Raw Normal View History

2022-04-05 10:31:31 +08:00
import { createApp } from "./main";
const { app, router } = createApp();
router.isReady().then(() => {
app.mount("#app");
});