mounted() {
this.$nextTick(function(){
this.$http.get('http://127.0.0.1:3000/api/articals').then((response) => {
console.log(response)
this.articals = response.data;
},(response) => {
// console.log(response)
});
})
},
vue的端口是8080,express端口是3000.
想在vue-resource中通过/api/articals获取数据。
这两个端口应该怎么配置啊?
配置proxyTable