Wysiwyg-editor: Froala + webpack

Created on 20 Mar 2016  路  4Comments  路  Source: froala/wysiwyg-editor

Expected behavior.

Possibility to use froala as CommonJS module.

Actual behavior.
ERROR in ./static/javascript/entry.js
Module not found: Error: Cannot resolve module 'froala-editor'
Steps to reproduce the problem.

npm install froala-editor --save

In ./static/javascript/entry.js:

require('froala-editor');
Environment

webpack 1.12.14

All 4 comments

See https://github.com/froala/wysiwyg-editor/tree/master/html/require_js for RequireJS. Using it with CommonJS is similar.

@thedotedge You're the solution. cmd

That link no longer works. Is it possible to get a Webpack example?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

DerekJDev picture DerekJDev  路  3Comments

lohiaad picture lohiaad  路  4Comments

isubasti picture isubasti  路  4Comments

adilsonb picture adilsonb  路  3Comments

cksachdev picture cksachdev  路  4Comments