LOADING...

Preview

Pen ID
Unlock Campus Themeforest adv

 

Code

User List

  • {{ user.name }} - {{ user.email }}

Vuejs Debug Data

{{ $data | json }}
CSS
#vueApp{ padding-top: 20px; }
JS
new Vue({
  el: '#vueApp',
  data: {
    debug: true,
    users: []
  },
  methods: {
    loadUsers: function() {
      this.$http.get('http://jsonplaceholder.typicode.com/users', function(data, status, request){
        if(status == 200)
        {
          this.users = data;
        }
      });
    }
  }
});
Host Instantly Drag and Drop Website Builder

 

Term
Mon, 11/27/2017 - 22:01

Related Codes

Pen ID
Pen ID
Pen ID