Yeoman angular-fullstack ckeditor production -
i'm using yeoman's angular-fullstack generator default parameters.
i use ckeditor https://github.com/lemonde/angular-ckeditor , extended bower.json following lines:
"ckeditor": "#full/4.4.7", "angular-ckeditor": "~0.4.2"
it works in development mode ( grunt serve
), fails in production ( grunt serve:dist
). tries load /config.js
, /skins/moono/editor_gecko.css
, language file dynamically, fails.
have idea how solve it?
had similar issue ace editor. did added override in bower.json
for ace looks this
"overrides": { "ace-builds": { "main": [ "src-noconflict/ace.js", "src-noconflict/theme-monokai.js", "src-noconflict/worker-javascript.js", "src-noconflict/mode-javascript.js" ] },
for ckeditor config can specify in similar way in overrides i.e.
"overrides": { "ckeditor": { "main": [ "path/to/your/ckeditor.js", "path/to/your/ckeditor/config.js" ] } }
for css, not sure if check gruntfile might come simple solution (i.e. add 1 more folder css sources).
if find nice css solution please post helpful more people ;)
Comments
Post a Comment