Issue #3041💬 AnsweredOpened September 23, 2020by WilburJZHAO0 reactions

How to render the website in frontend after designing it in the editor?

Quick answerby artf

I'd suggest reading this part https://grapesjs.com/docs/modules/Storage.html#store-and-load-templates

Read full answer below ↓

Question

Hi all,

I am wondering how to render the website with our own components designed by the editor into frontend? I cannot find any info about it in the documentation.

I have tried several ways:

  • directly load the html and css get from editor (It is not working as it does not contain any components info)

  • use Canvas.getBody.innerHTML (It is working for some simple component, not working on some complex one, eg video component)

So, can anyone suggest me on how to correctly render the website into frontend (I am using Vue)?

Thank you so much!

Answers (1)

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.