[Vuejs]-Vuejs nested lists pulled with AJAX

0👍

I figured it out, I just had to JSON parse the response.todos not just the response. I decided to use jquery for my json get function too, but I doubt that had anything to do with it.

            var app = new Vue({
              el: '#app',
              data: {
                  todos: '',
              },
              methods: {
                start: function () {
                  var self = this
                    jQuery.getJSON(apiURL, function(result){
                        self.todos = result.todos;
                    });
                }
              }
            });

Leave a comment