Grapesjs: How to render React components in grapesjs

Created on 19 Jul 2017  路  5Comments  路  Source: artf/grapesjs

I saw the grapesjs-mjml project, but did not solve my problem.

Most helpful comment

@tyua07 Can you please explain here how you grapesjs component with reactjs?

All 5 comments

Honestly, checking the grapesjs-mjml plugin is the best advice I can give you at the moment (especially components) as basically, it's the same concept. Technically, you have to create custom Components with a custom render logic.

thank you @artf

@tyua07 Can you please explain here how you grapesjs component with reactjs?

Hi @beepsoft, thanks a bunch. I have forked your project and indeed the Timer (as a React) component renders inside GrapesJS canvas. Would you be able to list the steps needed to correctly implement a new React component in its simplest form? I understand you used a Timer component for its complexity as to capture most cases, would it be also possible to list the steps for a boilerplate?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kosirm picture kosirm  路  3Comments

adam-gpc picture adam-gpc  路  3Comments

applibs picture applibs  路  3Comments

alibouaziz picture alibouaziz  路  3Comments

Snarkly picture Snarkly  路  3Comments