janat08
janat08

Reputation: 1777

Monadwidget in Frontend type

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?

Upvotes: 0

Views: 64

Answers (1)

janat08
janat08

Reputation: 1777

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

Upvotes: 0

Related Questions