@@ -19,6 +19,7 @@ import Reflex.Dom.Core
1919import Common.Api
2020import Common.Route
2121
22+import GHCJS.DOM.Debug
2223
2324-- This runs in a monad that can be run on the client or the server.
2425-- To run code in a pure client or pure server context, use one of the
@@ -29,9 +30,10 @@ frontend = Frontend
2930 el "title" $ text "Obelisk Minimal Example"
3031 elAttr "link" ("href" =: static @"main.css" <> "type" =: "text/css" <> "rel" =: "stylesheet") blank
3132 , _frontend_body = do
33+ prerender_ blank $ void addDebugMenu
3234 el "h1" $ text "Welcome to Obelisk!"
3335 el "p" $ text $ T.pack commonStuff
34−
36+
3537 -- `prerender` and `prerender_` let you choose a widget to run on the server
3638 -- during prerendering and a different widget to run on the client with
3739 -- JavaScript. The following will generate a `blank` widget on the server and