{"id":21325779,"url":"https://github.com/wp993080086/pc-v2-template","last_synced_at":"2026-04-09T16:03:49.500Z","repository":{"id":39376786,"uuid":"506919522","full_name":"wp993080086/PC-V2-Template","owner":"wp993080086","description":"一个开箱即用基于vue2的PC项目模板。","archived":false,"fork":false,"pushed_at":"2022-07-05T09:39:47.000Z","size":284,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-22T12:30:58.381Z","etag":null,"topics":["axios","element-ui","nprogress","sass","vue","vue-router","vuex","webpack"],"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/wp993080086.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}},"created_at":"2022-06-24T07:32:16.000Z","updated_at":"2022-07-01T16:15:03.000Z","dependencies_parsed_at":"2022-06-30T03:04:38.607Z","dependency_job_id":null,"html_url":"https://github.com/wp993080086/PC-V2-Template","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FPC-V2-Template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FPC-V2-Template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FPC-V2-Template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/wp993080086%2FPC-V2-Template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/wp993080086","download_url":"https://codeload.github.com/wp993080086/PC-V2-Template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243806040,"owners_count":20350775,"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":["axios","element-ui","nprogress","sass","vue","vue-router","vuex","webpack"],"created_at":"2024-11-21T21:07:22.330Z","updated_at":"2026-04-09T16:03:49.472Z","avatar_url":"https://github.com/wp993080086.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=center\u003e\n\n![webpack](https://img.shields.io/badge/5.54.0-webpack-orange)\n![nprogress](https://img.shields.io/badge/0.2.0-nprogress-red)\n![sass](https://img.shields.io/badge/1.53.0-sass-orange)\n  \n\u003c/div\u003e\n\n\u003cdiv align=center\u003e\n  \n![element-ui](https://img.shields.io/badge/2.15.9-element--ui-409EFF)\n![vue](https://img.shields.io/badge/2.6.14-vue-brightgreen)\n![axios](https://img.shields.io/badge/0.27.2-axios-ff69b4)\n![vue-router](https://img.shields.io/badge/3.5.4-vue%20router-blueviolet)\n![vuex](https://img.shields.io/badge/3.6.2-vuex-yellow)\n  \n\u003c/div\u003e\n\n# ⚡️ 简介\n\n一个开箱即用，基于 `webpack 5` + `vue 2` + `element-ui` + `vuex` + `vue-router 3` + `axios` 的PC端项目模板。\n\n\n# 🚀 开发\n\n1. 安装\n\n```\nnpm install\n```\n\n2. 运行\n\n```\nnpm run serve\n```\n\n# 📦️ 多环境打包\n\n- 测试环境打包\n\n```\nnpm run build_test\n```\n\n- 生产环境打包\n\n```\nnpm run build\n```\n\n# 🔧 代码修复\n\n```\nnpm run lint-fix\n```\n\n# 📚 目录\n\n```\n├─ .env.xxx // 各环境的配置文件\n├─ .eslintrc.js // eslint配置\n├─ vue.config.js // vue配置\n└─ src\n  │─ App.vue // 根容器\n  │─ main.js\n  │  \n  ├─ components // 组件\n  │      \n  ├─ pages // 页面\n  │                          \n  ├─ router // 路由\n  │          \n  ├─ services // 接口\n  │   │  \n  │   │─ request // 封装\n  │   └─ api // 接口\n  │      \n  ├─ static // 静态资源\n  │              \n  ├─ store // vuex\n  │      \n  └─ utils // 工具库\n  │ │  index.js\n  │ │  loading.js // loading封装\n  │ │  toast.js // 弹窗封装  \n  │ └─\n  │......\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp993080086%2Fpc-v2-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwp993080086%2Fpc-v2-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwp993080086%2Fpc-v2-template/lists"}