mirror of
https://github.com/centau/vide.git
synced 2026-08-20 23:01:37 +00:00
Improve Documentation Site (#41)
* update css and snippets * Add banner * improve home page * Update Banner * cleanup * Update font to JetBrains Mono * Add a quick look to Home * Simplify Home Page * Removed banner, removed copyright notice, reduced home page
This commit is contained in:
parent
f7dac3f63a
commit
f8e84f9f8d
29 changed files with 255 additions and 184 deletions
|
|
@ -6,7 +6,7 @@ most common cases, but they do not cover all of them.
|
|||
This tutorial will demonstrate how to implement a `show()` control flow function
|
||||
using just sources and effects.
|
||||
|
||||
```lua
|
||||
```luau
|
||||
local mount = vide.mount
|
||||
local source = vide.source
|
||||
local show = vide.show
|
||||
|
|
@ -61,7 +61,7 @@ effect's reactive scope is destroyed whenever the show effect is rerun.
|
|||
|
||||
The same can be achieved without the use of `show()`:
|
||||
|
||||
```lua
|
||||
```luau
|
||||
local mount = vide.mount
|
||||
local source = vide.source
|
||||
local effect = vide.effect
|
||||
|
|
@ -126,7 +126,7 @@ may be rerun needlessly and recreate the counter.
|
|||
|
||||
Alternatively, instead of using `root()`:
|
||||
|
||||
```lua
|
||||
```luau
|
||||
local mount = vide.mount
|
||||
local source = vide.source
|
||||
local effect = vide.effect
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue