Monadwidget in Frontend type

64 Views Asked by At

Some of the examples use monadwidget, with mainwidget. While obelisk generated project expects you to use a frontend data type. I couldn't find a reference to this type in the guide, but how would you use monadwidget within the type?

1

There are 1 best solutions below

0
On BEST ANSWER

You're supposed to use prerener or prerender_:

prerender_ blank $ bodyElement

Youll have to disable cors too: Disable same origin policy in Chrome

Source: https://github.com/obsidiansystems/obelisk/issues/320