I specify a root options in my Vue-Resource in my main.js file, but when I do the request, it does not use the root options. What am I missing ? Here's the code : main.js: Vue.http.options.root = 'http://api.domain.com/v1/' In a component : ready: fu…
//引入promiseif(!Promise){ var Promise = require("bluebird"); // Configure Promise.config({ longStackTraces: true, warnings: true // note, run node with --trace-warnings to see full stack traces for warnings }) }…