Upgrading from 1.x

The major change between 1.x and 2.x was the splitting of concerns into separate addons. The main flexi addon is now just a dependency manager of the newly separated dependencies.

To upgrade:

  1. Remove flexi from your packages.json and rerun ember install flexi. From the prompt, choose which addons you want installed.
  2. If using pods and flexi's viewport-specific templates, update your layouts shim from var shim = require('flexi/lib/pod-templates-shim'); to var shim = require('@html-next/flexi-layouts/lib/pod-templates-shim');.

That's it!