编辑器 cfgeditor
Table of contents
- 可视化浏览表结构和记录
- 编辑记录
Prerequisites
- nodejs, pnpm
pnpm config set --global registry https://registry.npmmirror.com
pnpm install
准备工作:启动对象数据服务器
java -jar ../cfggen.jar -datadir ../example/config -gen server
build
开发期,启动调试
pnpm run dev
使用浏览器查看 http://localhost:5173/
发布
pnpm run build
生成的页面和脚本在dist
目录,可以运行
cd dist
jwebserver
来启动服务器进行测试,然后使用浏览器查看 http://localhost:8000/
实际部署请选择更成熟的web服务器。
build exe
Prerequisites
- rust
生成cfgeditor.exe
pnpm tauri build
生成的cfgeditor.exe在 src-tauri\target\release\
目录下