heuuLZP / Vue Axios
Licence: mit
封装axios
Stars: ✭ 215
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Vue Axios
there-are-lots-of-people-in-Baiyun-airport
挑战杯 - 广州白云机场人流量时空分布预测系统 - 前端
Stars: ✭ 14 (-93.49%)
Mutual labels: vue-cli, axios, vue2
Github Ranking
🔍GitHub不同语言热门项目排行,Vue.js做页面展示
Stars: ✭ 160 (-25.58%)
Mutual labels: vue-cli, axios, vue2
Vue Home
🏠 A simple project(Vue Community SPA) which bases on vue+vue-cli+vue-router+axios+ scss.
Stars: ✭ 256 (+19.07%)
Mutual labels: vue-cli, axios, vue2
Vue Cli Multi Page
基于vue-cli模板的多页面多路由项目,一个PC端页面入口,一个移动端页面入口,且有各自的路由, vue+webpack+vue-router+vuex+mock+axios
Stars: ✭ 145 (-32.56%)
Mutual labels: vue-cli, axios, vue2
Vue2 blog
使用vue2.x + vue-cli +vue-router+ vuex + axios + mysql + express + pm2 + webpack+nginx构建的具有登录,注册,留言,用户发帖,用户评论等功能的SPA Blog。注意,注意,注意,后端API全部自己手写,很适合刚学习vue以及express的小伙伴学习,喜欢请Star鼓励一下我,谢谢!项目预览:
Stars: ✭ 417 (+93.95%)
Mutual labels: vue-cli, axios, vue2
Vue Music
基于vue2.0的网易云音乐播放器,api来自于NeteaseCloudMusicApi,v2.0为最新版本
Stars: ✭ 855 (+297.67%)
Mutual labels: vue-cli, axios, vue2
Vue Admin
基于Vue2、element ui、vue-cli、vuex、vue-router、axios 、echarts后台管理系统demo. 权限管理,用户管理,菜单管理。无限级菜单,下拉树形选择框
Stars: ✭ 1,135 (+427.91%)
Mutual labels: vue-cli, axios, vue2
Vue Admin Template
a vue2.0 minimal admin template
Stars: ✭ 15,411 (+7067.91%)
Mutual labels: vue-cli, axios
Vue Scroll Behavior
Customize the scrolling position on route navigation. Especially hash mode.
Stars: ✭ 132 (-38.6%)
Mutual labels: vue-cli, vue2
Douban
Awesome douban DEMO created with Vue2.x + Vuex + Vue-router + Superagent
Stars: ✭ 2,324 (+980.93%)
Mutual labels: vue-cli, vue2
Vue Element Quick Start
Vue2, Vuex 3, Vue Router 3, Element-ui and Typescript SPA project quick start kit(Vue element ui 快速开始脚手架)
Stars: ✭ 135 (-37.21%)
Mutual labels: axios, vue2
Spring Boot Vuejs
Example project showing how to build a Spring Boot App providing a GUI with Vue.js
Stars: ✭ 1,818 (+745.58%)
Mutual labels: vue-cli, axios
Vue Todos
vue最新实战项目教程,从零开始,一步一个脚印,循序渐进。跟着我一起学习vue吧!
Stars: ✭ 1,659 (+671.63%)
Mutual labels: vue-cli, axios
vue-axios
用法
克隆仓库到本地
git clone https://github.com/heuuLZP/vue-axios.git
进入仓库根目录,安装依赖
npm install
启动项目
npm run dev
查看效果
自行修改src/components/Hello.vue
文件中第24行中的如下所示代码。
- 正常请求
http.get(api.right, params)
- 地址不存在
http.get(api.error, params)
- 参数不正确
http.get(api.backEnd, params)
项目结构
src
├── App.vue
├── assets
│ └── logo.png
├── components
│ └── Hello.vue
├── main.js
├── router
│ └── index.js
└── utils ## 工具
└── api.js ## 封装api
└── http.js ## 封装axios
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].