Skip to content

Commit

Permalink
Merge pull request #254 from yakir12/patch-2
Browse files Browse the repository at this point in the history
Update docstring of `@page`macro
  • Loading branch information
hhaensel authored Jan 18, 2024
2 parents 8500549 + 21fdd3d commit d022299
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 d022299

Please sign in to comment.