{"id":14976447,"url":"https://github.com/react-love/react-next","last_synced_at":"2025-10-27T20:31:10.905Z","repository":{"id":25998105,"uuid":"107062944","full_name":"react-love/react-next","owner":"react-love","description":"稳定版本","archived":false,"fork":false,"pushed_at":"2022-12-08T17:17:34.000Z","size":2930,"stargazers_count":74,"open_issues_count":26,"forks_count":50,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-02-01T08:02:50.858Z","etag":null,"topics":["next","next-router","react","react16","redux","redux-thunk","scss","webpack3"],"latest_commit_sha":null,"homepage":"","language":"HTML","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/react-love.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":"2017-10-16T01:17:08.000Z","updated_at":"2023-11-24T02:52:27.000Z","dependencies_parsed_at":"2023-01-14T03:50:21.096Z","dependency_job_id":null,"html_url":"https://github.com/react-love/react-next","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/react-love%2Freact-next","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-next/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-next/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/react-love%2Freact-next/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/react-love","download_url":"https://codeload.github.com/react-love/react-next/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":238553090,"owners_count":19491370,"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":["next","next-router","react","react16","redux","redux-thunk","scss","webpack3"],"created_at":"2024-09-24T13:53:54.066Z","updated_at":"2025-10-27T20:31:10.550Z","avatar_url":"https://github.com/react-love.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-next\n这是一个next架构为主的react服务端渲染模板，实现了以下功能：\n\n- [x] webpack，包括开发环境下的热更新等功能，以及部署环境下的打包功能\n- [x] babelrc配置\n- [x] 支持scss\n- [x] 支持next-router\n- [x] 支持redux\n- [x] 支持图片格式文件\n- [x] 支持axios\n- [x] 支持gzip\n\n### 服务端渲染\n\n本项目基于服务端渲染\n\n### 客户端渲染\n如果你不想使用服务端渲染，可以选择本项目的客户端渲染实现：https://github.com/hyy1115/react-redux-webpack3\n\n### 安装教程\n**1、你需要下载本项目，可以fork到你的个人github账号上，然后在你的账号下载项目**\n\n**2、 安装依赖包**\n```text\nnpm install \u0026\u0026 yarn\n```\n\n**3、运行项目**\n有5个可执行命令，作用都不相同。\n\n#### 1、在开发环境下，执行：\n```text\nnpm run dev\n```\n\n#### 2、在生产环境下，执行：\n\n**打包**\n\n```text\nnpm run build //这是普通打包\n\nnpm run build-analyze //这是带有分析模块的打包\n```\n\n**启动服务**\n```text\nnpm start //最后运行\n\nnpm run stop //停止服务\n```\n\n### 教程\n\n前往：[本项目使用教程文档][1]\n\n[1] https://github.com/hyy1115/react-next/blob/master/doc/%E6%95%99%E7%A8%8B.md","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-love%2Freact-next","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freact-love%2Freact-next","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freact-love%2Freact-next/lists"}