This commit is contained in:
Laptev Stanislav 2025-10-14 22:05:42 +03:00 committed by GitHub
commit 9a1dca6bd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -21,6 +21,7 @@ export default defineConfig({
{ text: "jecs", link: "/api/jecs" }, { text: "jecs", link: "/api/jecs" },
{ text: "World", link: "/api/world" }, { text: "World", link: "/api/world" },
{ text: "Query", link: "/api/query" }, { text: "Query", link: "/api/query" },
{ text: "Observers", link: "/api/observers" },
], ],
}, },
], ],

View file

@ -8,7 +8,7 @@ The observers addon is included with jecs and can be imported directly:
```luau ```luau
local jecs = require(path/to/jecs) local jecs = require(path/to/jecs)
local observers_add = require(path/to/jecs/addons/observers) local observers_add = require(path/to/jecs/addons/ob)
local world = observers_add(jecs.world()) local world = observers_add(jecs.world())
``` ```