Skip to content

Commit

Permalink
Update ReactiveTools.jl
Browse files Browse the repository at this point in the history
Added a tiny note about specifying an explicit app in the `@page` macro.
  • Loading branch information
yakir12 authored Jan 18, 2024
1 parent 63fa969 commit 21fdd3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ReactiveTools.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1004,6 +1004,8 @@ Registers a new page with source in `view` to be rendered at the route `url`.
```julia
@page("/", "view.html")
@page("/", ui; model = MyApp) # for specifying an explicit app
```
"""
macro page(expressions...)
Expand Down

0 comments on commit 21fdd3d

Please sign in to comment.