2. Replace luastra.json
luastra/navigation · checked parameters · about 15 minutesluastra/navigation + luastra/ui
Pure typed navigation needs no host capability beyond rendering because this recipe does not yet modify browser History.
When to use it
Use this minimal manifest for in-memory typed routing; add navigation.history only when calling the matching Host history API.
Focused example
{
"schemaVersion": 2,
"project": {
"id": "dev.luastra.navigation-recipe",
"entry": "app/main"
},
"sdk": {
"contract": 1
},
"capabilities": ["ui.render"],
"modules": [
{
"id": "app/main",
"source": "src/main.luau",
"dependencies": ["luastra/app", "luastra/navigation", "luastra/ui"]
},
{
"id": "app/tests/routing",
"source": "tests/smoke.luau",
"dependencies": ["app/main"]
}
],
"tests": ["app/tests/routing"]
}