A Vue.js project 一个vue.js项目
# install dependencies # 更新依赖 npm install # serve with hot reload at localhost:8080 # 运行命令 npm run dev # build for production with minification npm run build # build for production and view the bundle analyzer report npm run build --report
npm install axios -S
#main.js:
#使用
}
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
##个人中心引入图标(未排版) ##新增食物 ##尝试使用 jsonp 进行跨域,产生问题,原因,未知 ##############################
##解决ajax跨域不成功的问题,通过配置代理访问,返回了成功标识,但数据依旧提示请求头错误