layui/example/src/entry-client.ts

8 lines
126 B
TypeScript
Raw Normal View History

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