{"id":21229177,"url":"https://github.com/szqlovepk/vue2-admin-cli","last_synced_at":"2025-07-10T15:31:47.248Z","repository":{"id":57690204,"uuid":"481904263","full_name":"szqlovepk/vue2-admin-cli","owner":"szqlovepk","description":"vue2-admin-cli是vue-admin的cli脚手架工具，支持快速搭建企业级中后台项目模板","archived":false,"fork":false,"pushed_at":"2022-04-18T08:29:54.000Z","size":3254,"stargazers_count":52,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-25T11:22:13.350Z","etag":null,"topics":["chalk","cli","commander","download","fs-extra","log-symbols","vue-template"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/szqlovepk.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}},"created_at":"2022-04-15T09:17:40.000Z","updated_at":"2023-03-02T03:50:49.000Z","dependencies_parsed_at":"2022-09-26T22:30:26.717Z","dependency_job_id":null,"html_url":"https://github.com/szqlovepk/vue2-admin-cli","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/szqlovepk%2Fvue2-admin-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szqlovepk%2Fvue2-admin-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szqlovepk%2Fvue2-admin-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/szqlovepk%2Fvue2-admin-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/szqlovepk","download_url":"https://codeload.github.com/szqlovepk/vue2-admin-cli/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225645159,"owners_count":17501625,"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":["chalk","cli","commander","download","fs-extra","log-symbols","vue-template"],"created_at":"2024-11-20T23:25:16.743Z","updated_at":"2024-11-20T23:25:17.431Z","avatar_url":"https://github.com/szqlovepk.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vue2-admin-cli\n\nvue2-admin-cli 是 vue-admin 的 cli 脚手架工具，支持快速搭建企业级中后台项目模板\n\nVue2 admin cli is the CLI scaffolding tool of vue2 admin, which supports the rapid construction of enterprise level middle and back office project templates\n\n---\n\n### vue2-admin-cli introduction\n\n#### install\n\n```\nnpm install -g vue2-admin-cli\n# or\nyarn global add vue2-admin-cli\n```\n\n#### usage\n\n##### 1.Check the vue2-admin-cli version\n\n```\nvue2-admin-cli upgrade //检查更新版本\n```\n\n##### 2.Set the template mirror\n\n```\nvu2-admin-cli mirror \u003ctemplate_mirror\u003e //设置镜像地址\n```\n\n##### 3.Download template from mirror\n\n```\nvue2-admin-cli template //下载最新模板\n```\n\n##### 4.Create a project based on vue-admin.\n\n```\nvue2-admin-cli init \u003cproject_name\u003e // 创建项目\n```\n\n---\n\n### vue-admin introduction\n\n#### a solution for vue middle or background system(vue 中后台系统解决方案)\n\n### [github 地址](https://github.com/szqlovepk/vue-admin)\n\n### [预览地址](https://szqlovepk.github.io/vue-admin-dist/)\u0026#x1F601;\u0026#x1F601;\n\n### 安装运行\n\n1.使用 vue2-admin-cli 脚手架工具下载或克隆项目源码\n\n```\nvue2-admin-cli init \u003cproject_name\u003e // 创建项目\nor\ngit clone https://github.com/szqlovepk/vue-admin.git\n```\n\n2.yarn 安装依赖(国内建议增加淘宝镜像源，不然很慢，你懂的 😁)\n`yarn`\n\n3.启动项目\n`yarn serve`\n\n4.打包项目\n\n```\nbuild:qa // qa环境\nbuild:pre // pre环境\nbuild:prod // 线上生产环境\n```\n\n---\n\n### 结尾\n\n欢迎和感谢大家 PR~~👏👏\n若有问题，可加微信与我进行交流（szq10_04) 😁 😁\n\n如果对你有帮助，给个 star 哟~~❤️❤️❤️❤️\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszqlovepk%2Fvue2-admin-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fszqlovepk%2Fvue2-admin-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fszqlovepk%2Fvue2-admin-cli/lists"}