custom_module.md 290 B


outline: deep

自定义模块

我们可以使用 import() 导入自定义模块(Lua 脚本),以便在项目中共享逻辑。

基础示例

编译运行

$ xmake
$ xmake run