Include a raw js library in my ember cli project

天大地大妈咪最大 提交于 2020-01-06 19:48:15

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!