The addon provides a storageFor computed property that returns a proxy and persists the changes to localStorage or sessionStorage. It ships with an ember-data adapter.
Unfortunately the checking logic depends on a package.json which does not exist in an ember-twiddle project.
I would like to suggest that there be a config option to disable the pruning logic that way in a twiddle the following twiddle.json can enable the ember-data support:
The addon removes all the ember-data support modules which makes sense for projects that do not have ember-data as a dependency.
Unfortunately the checking logic depends on a
package.json
which does not exist in an ember-twiddle project.I would like to suggest that there be a config option to disable the pruning logic that way in a twiddle the following
twiddle.json
can enable the ember-data support: