Search code examples
javascriptember.jsember-octane

Ember Octane and JQuery


For the past few weeks i've been playing with ember octane which in my opinion is awesome. I've tried a few ember plugins in order to test which plugins are working currently with ember octane, some of them require jQuery to work. So my question is: if it's possible to add jQuery to ember octane to make those plugins work?


Solution

  • Haven't tested it myself but it should be as easy as:

    • Add @ember/jquery package as a dev dependency.
    • Enable optional feature jquery-integration.

    An optional feature could be enabled using Ember CLI by running ember feature:enable some-feature or by editing config/optional-features.json manually. You could find more information about optional features in Guides.