{"id":14976429,"url":"https://github.com/liuqing650/webpack-antd","last_synced_at":"2026-02-09T10:02:28.468Z","repository":{"id":92794231,"uuid":"130829850","full_name":"Liuqing650/webpack-antd","owner":"Liuqing650","description":"webpack3配置的antd项目.axios + dva + antd","archived":false,"fork":false,"pushed_at":"2019-04-12T03:47:14.000Z","size":1081,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T04:24:46.466Z","etag":null,"topics":["antd","axios","dva","hmr-support","mobx","react","webpack3"],"latest_commit_sha":null,"homepage":"https://liuqing650.github.io/webpack-antd/preview/","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/Liuqing650.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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}},"created_at":"2018-04-24T09:29:06.000Z","updated_at":"2020-10-25T05:13:25.000Z","dependencies_parsed_at":"2023-03-11T18:00:41.803Z","dependency_job_id":null,"html_url":"https://github.com/Liuqing650/webpack-antd","commit_stats":{"total_commits":31,"total_committers":2,"mean_commits":15.5,"dds":"0.032258064516129004","last_synced_commit":"cae607c6269ca42c327877b04aaabb4664c755c2"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Liuqing650/webpack-antd","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liuqing650%2Fwebpack-antd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liuqing650%2Fwebpack-antd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liuqing650%2Fwebpack-antd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liuqing650%2Fwebpack-antd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Liuqing650","download_url":"https://codeload.github.com/Liuqing650/webpack-antd/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Liuqing650%2Fwebpack-antd/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267464522,"owners_count":24091505,"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-07-28T02:00:09.689Z","response_time":68,"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":["antd","axios","dva","hmr-support","mobx","react","webpack3"],"created_at":"2024-09-24T13:53:52.352Z","updated_at":"2026-02-09T10:02:28.417Z","avatar_url":"https://github.com/Liuqing650.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# webpack-antd\n\n## 项目简述\n\n### webpack相关功能\n\n  1. 支持自动刷新浏览器，模块热替换功能，浏览器实时展示错误信息\n  2. 支持多种模式下开发、预览、发布， 发布时为 `chunkhash` 文件名\n  3. 支持项目分析工具和第三方库提取，针对较大的外部引入模块可配置到 `vendor` 中\n  4. 支持 `js`, `jsx`, `css`, `less`, `png`, `svg`, `jpg`, `gif`, `字体` 等\n  5. 支持 `eslint`， 遵守 `airbnb` 语法规则校验\n  6. 支持按需载入模块 `webpackChunkName: 'YourPage'`\n  7. 支持 `antd` 主题自定义\n  8. 默认获取 `package.json` 中的： `PORT`，`HOST`， `APIPORT`作为全局静态变量\n\n### React相关功能\n\n  1. `master`分支项目配置 `react` + `antd` + `dva` + `axios` + `mockjs`\n  2. `antd-mobx`分支项目配置 `react` + `antd` + `mobx` + `axios` + `mockjs`\n  3. 语法支持 `es6`, `es7`\n\n## 使用\n\n**npm安装 install** npm install\n\n**yarn安装** yarn\n\n**开发环境** npm start\n\n**发布到预览环境** npm run preview\n\n**发布到线上环境** npm run build\n\n## 目录结构\n\n```base\nwebpack-antd\n├─src\n|  ├─index.js 入口文件\n|  ├─index.less 全局样式\n|  ├─router.js 路由\n|  ├─utils 工具\n|  |   ├─config.js web配置\n|  |   ├─index.js\n|  |   ├─loadable.js 页面动态加载,可配置加载loading效果\n|  |   └request.js 请求配置\n|  ├─services 请求\n|  |    └home.js\n|  ├─routes\n|  |   ├─SecondPage\n|  |   |     └index.js\n|  |   ├─HomePage\n|  |   |    └index.js\n|  ├─models\n|  |   └home.js\n|  ├─mock mock数据源\n|  |  └index.js\n|  ├─components\n├─public\n|   ├─index.html\n|   ├─dist 打包文件夹， 发布时上传此文件夹所有文件即可\n|   ├─assets 静态资源,打包后将自动复制到 dist目录下,且不会进行压缩\n|   |   └favicon.ico\n├─.babelrc\n├─.eslintignore\n├─.eslintrc\n├─.gitignore\n├─Makefile 执行 npm run preview 的命令文件, Windows下使用 npm run preview:win\n├─package.json\n├─webpack.config.js webpack 配置文件\n```\n\n## 更新日志\n\n查看： [CHANGELOG](https://github.com/Liuqing650/webpack-antd/blob/master/CHANGELOG.md)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuqing650%2Fwebpack-antd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fliuqing650%2Fwebpack-antd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fliuqing650%2Fwebpack-antd/lists"}