大厅功能:修订间差异
Liuweichen(留言 | 贡献) |
Liuweichen(留言 | 贡献) |
||
第7行: | 第7行: | ||
* [[File:添加hall入口.png]] | * [[File:添加hall入口.png]] | ||
=== 修改打包配置rollup === | |||
* rollup.config.js新增打包大厅index.js的配置 | |||
* [[File:rollup配置.png]] | |||
* rollup.config.js加一下服务类的白名单 | |||
* [[File:rollup白名单.png]] | |||
=== 修改html启动文件 === | |||
* 拷贝覆盖index.html到你的项目中,拷贝hall.html本地大厅文件到同一文件夹下 | |||
* [[File:html入口.png]] |
2024年9月4日 (三) 07:05的版本
老项目升级环境配置
项目demo地址
[git地址](https://git.jumpw.com/popx_demo/demox.git)
分支:hall_test
添加src/hall/index.ts的大厅服务器入口文件
修改打包配置rollup
- rollup.config.js新增打包大厅index.js的配置
- rollup.config.js加一下服务类的白名单
修改html启动文件
- 拷贝覆盖index.html到你的项目中,拷贝hall.html本地大厅文件到同一文件夹下