I\'m playing with vueJS and trying to grab some data from an ajax request.
Heres my code:
new Vue({
el: \'#recipeList\',
ready: function () {
this.f
$http.get
is for Vue Resource. Make sure you are pulling that in properly. i.e., add vue-resource
to your package.json, then npm install, then...
var Vue = require('vue');
Vue.use(require('vue-resource'));
Also, make sure your root path is set up properly.
Vue.http.options.root = '/your-root-path';
Hope it helps! :-)