Issue #369Opened October 3, 2017by ateshuseyin0 reactions

Usage from source failed

Question

I tried to use grapesjs from source by using require('grapesjs/src') to debug both my source and grapesjs. But could not success because of below issues;

  • There is some requires like require('plugin_manager'). These can be passed by webpack config but it is not a nice solution.
  • '<# VERSION #>' preprocessing should be done by git hooks, not compile time.
  • There is no guide about usage from source.

I think this issue is very imported to identify the bugs of grapesjs.

Answers (3)

ateshuseyinOctober 3, 20170 reactions

At DevicesView.js:5 there is underscore usage w/o require: `template: _.template(``

ateshuseyinOctober 3, 20170 reactions

I just notice that you are using ProvidePlugin. That is a solution but these kind of configurative solutions are a limitation to grapesjs users which are using from source.

artfOctober 4, 20170 reactions

correct @ateshuseyin I just never configured it to work properly from source, indeed have to move few configurations from webpack to npm. Appreciate your help 👍

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...

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.