Assets compilation issue in production phoenix application by GrapesJS
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)
You can't use SSR on GrapesJS
@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.
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.
Issue #910
Estimation of complexity to support existing html pages without predefined CSS structure?
I have a large amount of static websites, some which have been developed quite a while ago (using Bootstrap etc.) and some which have been...
Issue #1030
Firing events with custom components
I'm trying to build a plugin for Grapesjs with some custom components, and I'm having trouble with triggering events and interacting with t...
Issue #1803
Fixed size canvas
We're using GrapesJS at work for building a kiosk-system into our CMS. Currently using the webpage template. We are displaying the content...
Issue #1979
StyleManager Option for Editing single Elements allways
I'm using this great Library for Editing only Parts of Pages. I mainly design Compontens ready to use on the Page and when using the style...
Paid Plugins That Match This Issue
Curated by issue keywords and label relevance to help you ship faster.
Loading paid plugin recommendations...
Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.
Browse free plugins β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.
Browse Plugin Categories
Jump directly to plugin category pages on the marketplace.