# vue-http **Repository Path**: kingarthurpu/vue-http ## Basic Information - **Project Name**: vue-http - **Description**: 封装关于vue中http请求的取消示例代码 - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-07-06 - **Last Updated**: 2022-07-07 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # vue-http ## 导入 ```js import router from './router' import axios from "axios"; // 导入 import { Request } from '@/libs/js/request' // 使用 Vue.use(Request, { router, axios, isAbort: true }) ``` ## Project setup ``` npm install ``` ### Compiles and hot-reloads for development ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Customize configuration See [Configuration Reference](https://cli.vuejs.org/config/).