{"id":16384070,"url":"https://github.com/freyhill/wepy-scaffold","last_synced_at":"2026-04-12T13:32:13.510Z","repository":{"id":87431169,"uuid":"146556312","full_name":"freyhill/wepy-scaffold","owner":"freyhill","description":"🏢微信小程序框架wepy终极架构","archived":false,"fork":false,"pushed_at":"2018-08-30T09:18:15.000Z","size":113,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-12T12:03:20.962Z","etag":null,"topics":["es6","eslint","github","mini-program","node","nodejs","redux","vue","wepy","xcxutil"],"latest_commit_sha":null,"homepage":"","language":"CSS","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/freyhill.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":"2018-08-29T06:37:40.000Z","updated_at":"2018-10-26T04:03:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"a5b3d9ef-de56-486b-b060-c7f1926d2faf","html_url":"https://github.com/freyhill/wepy-scaffold","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/freyhill/wepy-scaffold","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freyhill%2Fwepy-scaffold","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freyhill%2Fwepy-scaffold/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freyhill%2Fwepy-scaffold/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freyhill%2Fwepy-scaffold/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/freyhill","download_url":"https://codeload.github.com/freyhill/wepy-scaffold/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/freyhill%2Fwepy-scaffold/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":284037610,"owners_count":26936683,"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","status":"online","status_checked_at":"2025-11-12T02:00:06.336Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["es6","eslint","github","mini-program","node","nodejs","redux","vue","wepy","xcxutil"],"created_at":"2024-10-11T04:10:29.610Z","updated_at":"2025-11-12T13:04:59.695Z","avatar_url":"https://github.com/freyhill.png","language":"CSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n#### use\n###### 克隆\n```\ngit clone git@gitee.com:quxueche2016/saas_coach.git\n```\n###### 安装依赖\n```\nnpm install\n```\n###### appid\n```\nwx49fb1c5f4fe95a95\n```\n###### 编译\n```\nwepy build --watch\n```\n#### 项目文件结构\n```\n|-- dist\n |-- node_modules\n |-- src\n |   |-- components\n        |-- stu-item.wpy\n        |-- tab-slider.wpy\n        |-- ...\n     |-- images\n        |-- x.png\n     |-- pages\n        |-- student.wpy\n        |-- exam.wpy\n        |-- ...\n     |-- store\n        |-- actions\n            |-- studentAction.js\n            |-- examAction.js\n        |-- reducers\n            |-- sdudentReducer.js\n            |-- examReducer.js\n            |-- index.js //合并reducer\n        |-- types\n            |-- index.js\n     |-- styles\n        |-- weui.scss\n        |-- global.scss\n        |-- style.scss\n     |-- utils\n        |-- http.js\n        |-- ...\n     |-- app.wpy\n     |-- config.js\n |-- package.json\n```\n#### 数据请求\n* 使用 promise\n* 使用 async await\n#### 权限\n* 使用globaldata保存登陆后的session_key\n* 使用localStorage保存登陆后数据\n\n#### 组件传值\n* 静态传值\n* 动态传值\n#### 状态管理\n* redux\n* redux-actions\n* wepy-redux\n#### 事件\n* 父组件事件\n* 子组件事件触发父组件\n#### 样式\n* weui.scss (样式库)\n* global.scss (全局样式)\n* style.scss (入口)\n=======\n# wepy-demo\nwepy项目实战\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreyhill%2Fwepy-scaffold","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffreyhill%2Fwepy-scaffold","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffreyhill%2Fwepy-scaffold/lists"}