简体   繁体   中英

DS.FixtureAdapter is undefined

window.Todos = Ember.Application.create();
Todos.ApplicationAdapter = DS.FixtureAdapter.extend();

But DS.FixtureAdapter is undefined. Ember version 2.2.0 Ember Data version 2.2.1

The fixture adapter has been removed from ember-data. You can still use it by installing the ember-data-fixture-adapter , which you can find here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM