初始化提交

This commit is contained in:
2025-10-03 16:49:53 +08:00
parent 157ca32e2d
commit bdd67a65fa
1066 changed files with 373311 additions and 261 deletions

11
template-example/main.js Normal file
View File

@@ -0,0 +1,11 @@
import './style/base.less'
import './style/scene-styles.css'
import PE from '../src/index.js'
export function createApp() {
const game = PE.create()
return { game }
}
// 启动应用
const { game } = createApp()