i attempting add external dependency ui.codemirror mean.js 0.4.2 application.
my understanding here , here of steps follows:
bower install --save angular-ui-codemirroradd dependency on
ui.codemirrormodule/public/config.jsadd
/public/lib/codemirror/codemirror.js,/public/lib/codemirror/codemirror.cssassets in/config/env/all.js
however, neither /public/config.js, nor /config/env/all.js file exists.
is has been changed in version 0.4.2? if so, new corresponding files info goes?
if not, missing? tried creating own /config/env/all.js file , adding files assets, files never sent client. i'm pretty stumped, how proceed here.
those files have changed in recent versions of mean.js.
you should add paths angular-ui-codemirror config/assets/default.js. there no need create new config files.
update:
if you're using version 0.3.3 have update config/env/all.js file place path dependency file , in case angular 3rd party module have inject in main angular module can done in file public/config.js.
if you're using version 0.4.2 have update config/assets/default.js file place path dependency file , in case angular 3rd party module have inject in main angular module can done in file modules/core/client/app/config.js.
Comments
Post a Comment