All Projects → sanyuan0704 → React Ssr

sanyuan0704 / React Ssr

从零开始手搭的React服务端渲染框架

Programming Languages

javascript
184084 projects - #8 most used programming language

React服务端渲染,使用方式:

1、到node_server文件夹下,执行npm install,然后执行node app.js,启动后端接口的服务器(端口为4000,用其他语言实现均可)

2、npm install nodemon npm-run-all -g 全局安装nodemon工具和npm-run-all,不然之后的项目命令会无法识别

3、到my_ssr文件夹下,执行npm install, 然后执行npm run dev启动项目(命令配置细节请看package.json里面的script内容),打开浏览器通过localhost:3001即可访问。

配套技术点详解文章地址: https://juejin.im/post/5d1fe6be51882579db031a6d

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].