{"id":15019525,"url":"https://github.com/cjm0/vue2_mob","last_synced_at":"2026-02-02T13:32:17.051Z","repository":{"id":256540533,"uuid":"855692561","full_name":"cjm0/vue2_mob","owner":"cjm0","description":"vue2+vue-cli3+vuex 项目模版","archived":false,"fork":false,"pushed_at":"2024-09-11T10:11:52.000Z","size":330,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-27T10:04:20.298Z","etag":null,"topics":["vue-cli3","vue2"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cjm0.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2024-09-11T09:57:00.000Z","updated_at":"2024-09-11T10:23:45.000Z","dependencies_parsed_at":"2024-09-11T14:44:07.861Z","dependency_job_id":"9aad3146-4b44-434b-a31a-0068acea17ec","html_url":"https://github.com/cjm0/vue2_mob","commit_stats":null,"previous_names":["cjm0/vue2_mob"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cjm0/vue2_mob","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjm0%2Fvue2_mob","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjm0%2Fvue2_mob/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjm0%2Fvue2_mob/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjm0%2Fvue2_mob/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cjm0","download_url":"https://codeload.github.com/cjm0/vue2_mob/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cjm0%2Fvue2_mob/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262235782,"owners_count":23279566,"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":["vue-cli3","vue2"],"created_at":"2024-09-24T19:53:38.929Z","updated_at":"2026-02-02T13:32:16.978Z","avatar_url":"https://github.com/cjm0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue2 移动端项目\n\n1. vue2、vue-cli3 脚手架、vant 移动组件库、微信jsdk jweixin-1.6.0\n\n2. ajax 请求 proxy 代理跨域\n\n3. 基础配置放在 .env .env.development .env.production 三个文件中\n\n4. flex 布局，不使用 rem，fastclick 插件处理 300ms 延迟问题\n\n5. 自定义 eslint 配置规则\n\n## 快速开始\n\n```bash\nyarn install\n\nyarn serve 本地开发\n\nyarn build 打包上线\n\nyarn lint\n\nyarn test:e2e\n\nyarn test:unit\n```\n\n## 代码说明\n\n1. 全局变量\n- $axios RESTful 请求\n- $config 全局公共变量\n- $cookie 全局 cookie 操作方法\n\n2. 本地缓存 localStorage\n\n3. vant 按需引入，如大量使用可考虑全局引入，看情况是否使用 rem，看情况是否使用 grql\n\n4. 微信环境引入了微信 jsdk，如果不需要可去掉\n\n## 项目内容\n\n### 首页 pages/index\n\n## 插件版本\n\n- vue ^2.6.11\n- vue-router ^3.2.0\n- vuex ^3.4.0\n- axios ^0.19.2\n- vue-cli3\n- webpack4\n- vant ^2.9.2\n- eslint ^6.7.2\n- node \u003e= 12.17.0\n\n## 参考文档\n\n[vue](https://cn.vuejs.org/)\n\n[vue-cli3](https://cli.vuejs.org/zh/)\n\n[vant](https://youzan.github.io/vant/#/zh-CN/)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjm0%2Fvue2_mob","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcjm0%2Fvue2_mob","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcjm0%2Fvue2_mob/lists"}