From 21fdd3d556aadd3980be436a64b3171e15eee8f8 Mon Sep 17 00:00:00 2001 From: Yakir Luc Gagnon <12.yakir@gmail.com> Date: Thu, 18 Jan 2024 09:57:58 +0100 Subject: [PATCH] Update ReactiveTools.jl Added a tiny note about specifying an explicit app in the `@page` macro. --- src/ReactiveTools.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ReactiveTools.jl b/src/ReactiveTools.jl index af976e9e..6c92c75a 100644 --- a/src/ReactiveTools.jl +++ b/src/ReactiveTools.jl @@ -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...)