{"id":22642682,"url":"https://github.com/hzfe/mina-boilerplate","last_synced_at":"2026-05-18T00:31:46.337Z","repository":{"id":139700401,"uuid":"68878240","full_name":"HZFE/mina-boilerplate","owner":"HZFE","description":"小程序 webpack 开发模板","archived":false,"fork":false,"pushed_at":"2021-04-16T09:06:28.000Z","size":917,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-07-15T04:10:17.623Z","etag":null,"topics":["boilerplate","minapp","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/HZFE.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,"zenodo":null}},"created_at":"2016-09-22T02:49:09.000Z","updated_at":"2021-04-16T09:24:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"c2ac8319-af29-42f7-8372-61b7efc63bc5","html_url":"https://github.com/HZFE/mina-boilerplate","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/HZFE/mina-boilerplate","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HZFE%2Fmina-boilerplate","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HZFE%2Fmina-boilerplate/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HZFE%2Fmina-boilerplate/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HZFE%2Fmina-boilerplate/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/HZFE","download_url":"https://codeload.github.com/HZFE/mina-boilerplate/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/HZFE%2Fmina-boilerplate/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33160458,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-17T22:39:12.733Z","status":"ssl_error","status_checked_at":"2026-05-17T22:39:10.741Z","response_time":107,"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":["boilerplate","minapp","webpack"],"created_at":"2024-12-09T05:07:52.484Z","updated_at":"2026-05-18T00:31:46.325Z","avatar_url":"https://github.com/HZFE.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 小程序模板\n\n## 开发环境\n\n### 开发者工具相关\n\n1. 在小程序开发者工具中，导入当前项目时，请 `直接导入根目录`，而非 `dist` 目录。因为已在 `project.config.json` 中配置 `miniprogramRoot` 为 `dist/`。[projectconfig 相关文档](https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html)。\n\n2. 由于当前使用的 `webpack` 构建工具，会对代码做好所有的编译工作，因此开发者工具中的右上角，“详情” 一栏的 “本地配置”中，`不要勾选` “ES6 转 ES5”，“增强编译”，“上传代码时 xxx” 的选项。\n\n3. 上传体验版时，务必执行 `npm run build` 命令后才上传，而非 `npm run start`。否则代码没有经过压缩处理等。\n\n### 编辑器配置\n\n推荐开发者使用 `vscode` 并安装 `Prettier` 和 `minapp` 插件。项目开发中将由 `.vscode/settings.json` 中的配置进行风格约束。\n\n## 相关项目\n\n[小程序 webpack plugin](https://github.com/HZFE/mina-webpack-plugin)\n\n[小程序 webpack loader](https://github.com/HZFE/wxml-loader)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhzfe%2Fmina-boilerplate","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhzfe%2Fmina-boilerplate","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhzfe%2Fmina-boilerplate/lists"}