{"id":18409425,"url":"https://github.com/be-fe/appollo","last_synced_at":"2025-04-07T09:33:46.830Z","repository":{"id":24613531,"uuid":"28022350","full_name":"be-fe/Appollo","owner":"be-fe","description":"A simple mobile framework scaffold","archived":false,"fork":false,"pushed_at":"2015-01-30T08:27:26.000Z","size":325,"stargazers_count":5,"open_issues_count":2,"forks_count":1,"subscribers_count":11,"default_branch":"master","last_synced_at":"2024-03-20T08:10:33.704Z","etag":null,"topics":[],"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/be-fe.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":"2014-12-15T05:38:14.000Z","updated_at":"2023-12-14T08:49:13.000Z","dependencies_parsed_at":"2022-08-06T02:15:16.023Z","dependency_job_id":null,"html_url":"https://github.com/be-fe/Appollo","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/be-fe%2FAppollo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2FAppollo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2FAppollo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/be-fe%2FAppollo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/be-fe","download_url":"https://codeload.github.com/be-fe/Appollo/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223276228,"owners_count":17118307,"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":[],"created_at":"2024-11-06T03:25:13.073Z","updated_at":"2024-11-06T03:25:13.725Z","avatar_url":"https://github.com/be-fe.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003clink rel=\"stylesheet\" href=\"http://yandex.st/highlightjs/6.2/styles/googlecode.min.css\"\u003e\n \n\u003cscript src=\"http://code.jquery.com/jquery-1.7.2.min.js\"\u003e\u003c/script\u003e\n\u003cscript src=\"http://yandex.st/highlightjs/6.2/highlight.min.js\"\u003e\u003c/script\u003e\n \n\u003cscript\u003ehljs.initHighlightingOnLoad();\u003c/script\u003e\n\u003cscript type=\"text/javascript\"\u003e\n $(document).ready(function(){\n      $(\"h2,h3,h4,h5,h6\").each(function(i,item){\n        var tag = $(item).get(0).localName;\n        $(item).attr(\"id\",\"wow\"+i);\n        $(\"#category\").append('\u003ca class=\"new'+tag+'\" href=\"#wow'+i+'\"\u003e'+$(this).text()+'\u003c/a\u003e\u003c/br\u003e');\n        $(\".newh2\").css(\"margin-left\",0);\n        $(\".newh3\").css(\"margin-left\",20);\n        $(\".newh4\").css(\"margin-left\",40);\n        $(\".newh5\").css(\"margin-left\",60);\n        $(\".newh6\").css(\"margin-left\",80);\n      });\n });\n\u003c/script\u003e\n\u003cdiv id=\"category\"\u003e\u003c/div\u003e\n\n============\n\n##Appollo Framework\n\n此框架用于完成项目框架，项目构建，统计监控等,基于gulp实现，目前还在开发中\n\n=========\n###已完成的功能\n- 脚手架快速创建新项目\n- 代码压缩合并\n- 为静态文件添加hash值，防止浏览器缓存\n- 修改后自动刷新页面\n\n===========\n\n\n\n###待开发功能：\n- weiner的自动注入，二维码扫描，方便移动端开发\n- 组件化支持\n\n\n==========\n\n\n###约定目录结构：\n\n\u003cpre\u003e\n├── build（编译路径）      \n│   └── product\n│       ├── index（项目文件）     \n│       │   ├── css     \n│       │   ├── html     \n│       │   ├── imgs     \n│       │   └── js     \n│       └── static（通用静态文件）    \n│           ├── css     \n│           ├── imgs     \n│           └── js     \n├── config（项目配置文件）     \n└── src （开发路径）    \n    ├── common  （通用js、css、image，跨项目使用）   \n    │   ├── css     \n    │   ├── imgs     \n    │   └── js     \n    ├── pages     \n    │   ├── _example  （默认项目demo，以次来构建新项目）   \n    │   │   ├── css     \n    │   │   ├── html  （存放dom结构，为html格式）     \n    │   │   ├── imgs     \n    │   │   └── js     \n    │   └── index  （存放项目的代码）   \n    │       ├── css     \n    │       ├── html     \n    │       ├── imgs     \n    │       └── js     \n    └── utils     \n        └── islider     \n\u003c/pre\u003e\n                                \n\n###使用方法：\n\n\t$ gulp\n\n####创建新项目\n\t$ gulp new --name erp\n这样就创建了一个名为erp的新项目,也可以通过config中配置pages，然后通过gulp new进行多项文件夹创建。\n\n####代码合并\u0026压缩\u0026添加hash值\n\t$ gulp build \n\n####实时监控\n\t$ gulp watch\n使用gulp watch 可以编译开发环境并进行预览，当前开发项目通过config.json的developPage指定，同时修改时浏览器会自动更新。\n\n======\n\n###通过config.json配置相关参数\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbe-fe%2Fappollo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbe-fe%2Fappollo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbe-fe%2Fappollo/lists"}