mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-07-19 03:41:47 +08:00
15 lines
288 B
TypeScript
15 lines
288 B
TypeScript
import { createApp } from 'vue';
|
|
import './styles.less';
|
|
import { createGame } from '@user/entry-client';
|
|
|
|
// 创建游戏实例
|
|
createGame();
|
|
|
|
(async () => {
|
|
const App = (await import('./App.vue')).default;
|
|
createApp(App).mount('#root');
|
|
})();
|
|
|
|
main.init('play');
|
|
main.listen();
|