问题
I would like to simply download this library and include it in my ember cli project.
It is not available as a bower package, what should I do?
https://github.com/appendto/jquery-mockjax.git
thanks
回答1:
Something like this should do:
bower install --save appendto/jquery-mockjax
You may notice this uses github-user/repository-name
Brocfile.js:
app.import( 'bower_components/jquery-mockjax/jquery.mockjax.js' );
来源:https://stackoverflow.com/questions/25665864/include-a-raw-js-library-in-my-ember-cli-project