Issue #1477πŸ’¬ AnsweredOpened Oct 4, 2018by symmetrically0 reactions

Assets compilation issue in production phoenix application by GrapesJS

Quick answerby artf

You can't use SSR on GrapesJS

Read full answer below ↓

Question

We are using GrapesJS to allow users to design some static pages in our production application build with Phoenix . We are using brunch to install and deploy our assets . Our production site is having a high usage of server side template rendering for performance reasons. GrapesJS works locally well but in production there is an error which causes all of our server side rendering to go down. Here is the error we are getting : Uncaught ReferenceError: f is not defined which is coming from f.exports=o as seen in the minified code below: Our package.json file looks like this: Our brunch-config.j...

Answers (3)

artfβ€’ Oct 5, 2018

You can't use SSR on GrapesJS

symmetricallyβ€’ Oct 5, 2018

@artf We are not rendering GrapesJS server side. It is compiled with asset pipeline where it breaks causing the other server side rendering to go down as well.

lock[bot]β€’ Oct 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

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.