{"id":20414451,"url":"https://github.com/x-extends/vxe-ajax","last_synced_at":"2025-04-12T16:44:30.425Z","repository":{"id":108600236,"uuid":"115435894","full_name":"x-extends/vxe-ajax","owner":"x-extends","description":"🍃 用于 Vue 全局安装 xe-ajax","archived":false,"fork":false,"pushed_at":"2021-11-14T13:07:04.000Z","size":67,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T11:11:10.341Z","etag":null,"topics":["xe-ajax"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/x-extends.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-26T15:59:46.000Z","updated_at":"2021-11-14T13:07:07.000Z","dependencies_parsed_at":"2023-03-05T11:00:22.607Z","dependency_job_id":null,"html_url":"https://github.com/x-extends/vxe-ajax","commit_stats":{"total_commits":128,"total_committers":2,"mean_commits":64.0,"dds":0.3125,"last_synced_commit":"0de5907368d267716a01e30497285c6190441334"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-extends%2Fvxe-ajax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-extends%2Fvxe-ajax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-extends%2Fvxe-ajax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/x-extends%2Fvxe-ajax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/x-extends","download_url":"https://codeload.github.com/x-extends/vxe-ajax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248600186,"owners_count":21131440,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["xe-ajax"],"created_at":"2024-11-15T06:10:04.096Z","updated_at":"2025-04-12T16:44:30.388Z","avatar_url":"https://github.com/x-extends.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vxe-ajax\n\n[![gitee star](https://gitee.com/x-extends/vxe-ajax/badge/star.svg?theme=dark)](https://gitee.com/x-extends/vxe-ajax/stargazers)\n[![npm version](https://img.shields.io/npm/v/vxe-ajax.svg?style=flat-square)](https://www.npmjs.com/package/vxe-ajax)\n[![npm build](https://travis-ci.com/x-extends/vxe-ajax.svg?branch=master)](https://travis-ci.com/x-extends/vxe-ajax)\n[![npm downloads](https://img.shields.io/npm/dm/vxe-ajax.svg?style=flat-square)](http://npm-stat.com/charts.html?package=vxe-ajax)\n[![gzip size: JS](http://img.badgesize.io/https://unpkg.com/vxe-ajax/dist/vxe-ajax.umd.min.js?compression=gzip\u0026label=gzip%20size:%20JS)](https://unpkg.com/vxe-ajax/dist/vxe-ajax.umd.min.js)\n[![npm license](https://img.shields.io/github/license/mashape/apistatus.svg)](LICENSE)\n\n用于 Vue 全局安装 xe-ajax\n\n## Installing\n\n```shell\nnpm install xe-ajax vxe-ajax\n```\n\n```javascript\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/vue\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/xe-ajax\"\u003e\u003c/script\u003e\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/vxe-ajax\"\u003e\u003c/script\u003e\n```\n\n## Example\n\n```javascript\nimport Vue from 'vue'\nimport XEAjax from 'xe-ajax'\nimport VXEAjax from 'vxe-ajax'\n\nVue.use(VXEAjax, XEAjax)\n```\n\n```html\n\u003ctemplate\u003e\n  \u003cul\u003e\n    \u003cli v-for=\"item in list\" :key=\"item.id\"\u003e{{ item.name }}\u003c/li\u003e\n  \u003c/ul\u003e\n\u003c/template\u003e\n```\n\n```html\n\u003cscript\u003e\nexport default {\n  data () {\n    return {\n      list: []\n    }\n  },\n  created () {\n    this.$ajax.get('/api/user/list').then(data =\u003e {\n      this.list = data\n    })\n  }\n}\n\u003c/script\u003e\n```\n\n## License\n\n[MIT](LICENSE) © 2017-present, Xu Liangzhan\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-extends%2Fvxe-ajax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fx-extends%2Fvxe-ajax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fx-extends%2Fvxe-ajax/lists"}