摘要: 通常开发vue我们使用的是模板语法,其实还有和react相同的语法,那就是render函数,同样支持jsx语法。 Vue 的模板实际是编译成了 render 函数。 0 传统的createElement方法 <anchored-heading :level="1"> <span>Hello</spa 阅读全文
posted @ 2017-03-30 22:24 弗朗西斯科 阅读(9034) 评论(1) 推荐(0) 编辑
摘要: edit dev.proxyTable option in config/index.js. The dev server is using http-proxy-middleware for proxying 为了解决跨域问题, 通常会使用Jsonp,但是jsonp只能是get请求。 或者使用CO 阅读全文
posted @ 2017-03-30 15:40 弗朗西斯科 阅读(1764) 评论(0) 推荐(0) 编辑