I'm trying to add a password meter to my application, and have stumbled on the "strength-meter" jQuery plugin which looks quite good.
I have "installed" it using bower (--save), and then included it into my ember-cli-build.js file as follows:
app.import('bower_components/strength-meter/js/strength-meter.js');
app.import('bower_components/strength-meter/css/strength-meter.css'});
//app.import('bower_components/strength-meter/img/bg-strength-gradient.jpg',{destDir: 'assets'});
When I execute "ember build", the js and css files do not appear in my dist/assets folder.
Does anyone know what's happening here?
Also, note the commented out image - that one throws a file not found error during the build process. It's looking for a file in the tmp build folder...
Build failed.
ENOENT, no such file or directory '/home/Ember/newproject/tmp/funnel-input_base_path-VTkBYJrA.tmp/0/bower_components/strength-meter/img/bg-strength-gradient.jpg'
Any help would be really great!
Cheers,
Andy
{destDir: 'assets'}from the import().. they should get built into the assets by default. More specifically they should get auto compiled into avendor.jsandvendor.cssrespectively. - Graphoapp.import()and builds avendor.jsfile which has everything packed together - Grapho