/models/rental.js中找到所有数据?/models/rental.js?model()调用将从适配器中定义的/api/rentals中获取数据。但是,/models/rental.js如何与数据存储通信并与api调用一起工作呢?在快速入门教程中,它说
The store service is injected into all routes and components in Ember.
我正在使用MVC,我正在尝试使用上的入门教程,不过我想在Visual studio中实现它们。我不太确定该怎么做……// This is a simple *viewmodel* - JavaScript that defines the data and behaviorAppViewModel() { this.lastName = "Bertington";
// Acti