GrapesJS / grapesjs

Free and Open source Web Builder Framework. Next generation tool for building templates without coding
https://grapesjs.com
BSD 3-Clause "New" or "Revised" License
22.36k stars 4.05k forks source link

how to integrate grapesjs in loopback application #2767

Closed HPsisodia closed 4 years ago

HPsisodia commented 4 years ago

I am working on a loopback application and wanted to integrate grapesjs, so that the client can make his own web template which will be later used by the server to send some information overlayed on the template. However, i am not able to integrate grapesjs and run it alongside when the main application when server starts. I am new to this so don't know much about this, i will really appreciate any help

cartifon commented 4 years ago

GrapesJS is a Client side JavaScript library, I don't think you can add that to a back-end NodeJS application.... But I may be wrong... What do you think @artf ?

artf commented 4 years ago

@HPsisodia on the client you render the editor using the grapesjs, with loopback you just provide API (https://grapesjs.com/docs/modules/Storage.html#setup-the-server). If you don't know how to set up the server with loopback, unfortunately, this is not the right place to ask