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',{destDir: 'assets'});
app.import('bower_components/strength-meter/cs/strength-meter.css',{destDir: 'assets'});
//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...
Any help would be really great!
Cheers,
Andy
Aucun commentaire:
Enregistrer un commentaire