mirror of
https://github.com/Sovvie/Chemical.git
synced 2025-06-20 11:39:17 +00:00
Correct typos in README.md
This commit is contained in:
parent
c58a24c9ff
commit
762025df39
1 changed files with 2 additions and 1 deletions
|
@ -198,12 +198,13 @@ The different between `Element` and `Value` is that `Element`s have reactive par
|
||||||
|
|
||||||
```lua
|
```lua
|
||||||
local Chemical = require(path.to.Chemical)
|
local Chemical = require(path.to.Chemical)
|
||||||
|
local router = Chemical.Router()
|
||||||
local settingsPageElement = Chemical.Element()
|
local settingsPageElement = Chemical.Element()
|
||||||
|
|
||||||
-- In UI Creation:
|
-- In UI Creation:
|
||||||
-- Visible = settingsPageElement,
|
-- Visible = settingsPageElement,
|
||||||
|
|
||||||
routher:paths({
|
router:paths({
|
||||||
{Path = "/settings", Element = settingsPageElement}
|
{Path = "/settings", Element = settingsPageElement}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue