Setup

For Ember FW Table, there is a little bit more than some packages that you have to do. You must of course add @bennerinformatics/ember-fw-table as a normal yarn dependency to the client/package.json file, as documented here. After this, you must also add the styling for ember-fw-table ito your app.scss. This can be done by importing the general styling from ember-fw-table:

@import "ember-fw-table/ember-fw-table";

After you install the package and change the styling you SHOULD be done. Sometimes however, you may have errors such requesting files either of the following files: responsive.js or breakpoints.js. These are supposed to be able to be found without you needing to add them to your app because they are in Ember FW Table. If you receive an error however, you should copy and paste these two files from Ember FW Table into your app. This is the old and new locations:

  • responsive.js: Copy from ember-fw-table/app/initializers/ to your root/client/app/initializers/ folder.
  • breakpoints.js: Copy from ember-fw-table/app/ to your root/client/app folder.

If for whatever reason these files need to be overridden for your app (ie if you need to add a new breakpoint for your app), these files can be copied over from Ember FW Table and overridden from the default settings.