layui/docs/src/entry-client.ts

8 lines
126 B
TypeScript
Raw Normal View History

2021-09-27 06:09:33 +08:00
import { createApp } from './main'
const { app, router } = createApp()
router.isReady().then(() => {
app.mount('#app')
})