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:
- Remove flexi from your packages.json and rerun
ember install flexi
. From the prompt, choose which addons you want installed. - If using pods and flexi's viewport-specific templates, update your layouts shim from
var shim = require('flexi/lib/pod-templates-shim');
tovar shim = require('@html-next/flexi-layouts/lib/pod-templates-shim');
.
That's it!
Updated less than a minute ago