ember-jquery
v1.0.5
Published
Easily include jQuery or jQuery slim into your ember application
Downloads
111
Readme
ember-jquery
Easily add jquery to your ember applications
Usage
ember install ember-jquery
Addon Options
ember-cli-build.js
:
module.exports = function(defaults) {
let app = new EmberAddon(defaults, {
// Disable jQuery bundled with Ember.js
vendorFiles: { 'jquery.js': null },
// Example to include jQuery slim instead of default build
jquery: {
slim: true
}
});
}
Available options:
slim
boolean (default false)
Use the jQuery slim build, released with jQuery 3.0 and upwards.
Installation
git clone <repository-url>
this repositorycd ember-jquery
npm install
Running
ember serve
- Visit your app at http://localhost:4200.
Running Tests
npm test
(Runsember try:each
to test your addon against multiple Ember versions)ember test
ember test --server
Building
ember build
For more information on using ember-cli, visit https://ember-cli.com/.