{"id":25904321,"url":"https://github.com/jerry4718/vue-require-admin","last_synced_at":"2026-04-26T16:32:29.438Z","repository":{"id":196807357,"uuid":"251673658","full_name":"jerry4718/vue-require-admin","owner":"jerry4718","description":"一个尽可能发挥vue渐进式优点的快速开发模板，脱离webpack，入坑requirejs","archived":false,"fork":false,"pushed_at":"2020-04-02T13:56:05.000Z","size":131,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-04T08:39:16.357Z","etag":null,"topics":["admin","crm","fast","nowebpack","require","requirejs","vue"],"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/jerry4718.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,"zenodo":null}},"created_at":"2020-03-31T17:05:19.000Z","updated_at":"2024-02-22T06:35:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"6d391d7f-b345-4cb6-9208-a26eb83806f6","html_url":"https://github.com/jerry4718/vue-require-admin","commit_stats":null,"previous_names":["jerry4718/vue-require-admin"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/jerry4718/vue-require-admin","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry4718%2Fvue-require-admin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry4718%2Fvue-require-admin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry4718%2Fvue-require-admin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry4718%2Fvue-require-admin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jerry4718","download_url":"https://codeload.github.com/jerry4718/vue-require-admin/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jerry4718%2Fvue-require-admin/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32305035,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T09:34:17.070Z","status":"ssl_error","status_checked_at":"2026-04-26T09:34:00.993Z","response_time":129,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["admin","crm","fast","nowebpack","require","requirejs","vue"],"created_at":"2025-03-03T04:18:03.260Z","updated_at":"2026-04-26T16:32:29.434Z","avatar_url":"https://github.com/jerry4718.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 主旨\n\n本项目希望通过尽可能的减少构建工具的使用，\n来减少类crm系统开发过程中的学习成本，\n让非专业前端开发人员，\n可以在最少量借助node工具链的基础上，快速完成开发\n\n### 模板工具使用\n\n```sh\n# 新建页面\nnode kits/code-gen/page.js xxx/xxx xxx/xx\n```\n\n### todo（不分次序）\n\n- 样式精修\n- 公共组件（datepicker，pager，dialog，toast，modal，progress）\n- 添加测试用的mock工具（或者改变项目为全栈模板）\n- 后续引入ESLint严格控制代码风格（快速打了不想用node工具的脸）\n- 引入gulp处理es版本的转换\n- 从app.js中分离requirejs的配置文件\n- 从main.component.js中分离指定公用模板的配置代码\n- 从main.component.js中分离route渲染的代码\n- 可在后端指定该页面默认调用的接口以及指定一些参数（一般来讲，crm中，每个页面都会去请求数据）\n\n### question\n\n- 页面component是否合并到一个文件中（减少文件请求的次数）\n- 是否造一个样式scoped的轮子（解决样式冲突的问题）\n- 怎样处理浏览器缓存的问题\n- 是否引入样式库（如bootstrap）\n\n\n### 相关文档\n\n- requirejs: https://requirejs.org/\n- requirejs-css: https://github.com/guybedford/require-css/blob/master/README.md\n- requirejs-text: https://github.com/requirejs/text/blob/master/README.md\n- vue: https://cn.vuejs.org/v2/guide/\n- vue-router: https://router.vuejs.org/zh/\n- vue-i18n: http://kazupon.github.io/vue-i18n/started.html\n\n### 说在最后\n\n其实还有个想法是，deno就快要release 1.0了嘛，换成deno构建应该也是个不错的想法，\n不过可能需要不少轮子，还有我这散修的js基本功不知道会写出多low的代码\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerry4718%2Fvue-require-admin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjerry4718%2Fvue-require-admin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjerry4718%2Fvue-require-admin/lists"}