Answer the question
In order to leave comments, you need to log in
Why is the data received from JSON not displayed?
Such situation.... It turns out json is returned, but the data is not output. What's the matter?
Here's what's in the console:
import Ember from 'ember';
export default Ember.Route.extend({
model() {
var json = $.getJSON("users.json")
console.log(json)
// this.store.createRecord('user', obj)
}
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question