Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ctime-zliang/react-initbase
React application, supports SSR isomorphic rendering and client-side rendering
https://github.com/ctime-zliang/react-initbase
antd koa2 mobx react react-router redux styled-components
Last synced: 11 days ago
JSON representation
React application, supports SSR isomorphic rendering and client-side rendering
- Host: GitHub
- URL: https://github.com/ctime-zliang/react-initbase
- Owner: ctime-zliang
- Created: 2021-06-28T06:24:31.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-18T03:30:24.000Z (almost 2 years ago)
- Last Synced: 2023-03-08T13:17:38.478Z (over 1 year ago)
- Topics: antd, koa2, mobx, react, react-router, redux, styled-components
- Language: TypeScript
- Homepage:
- Size: 70.5 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-initbase
一个 React 应用,支持客户端渲染和服务端渲染
> 基于 Windows 平台的构建、开发和测试,因此可能在别的平台上还存在一些问题
>
> Windows: 推荐 Windows 10 及以上版本
>
> **该项目为笔者学习参考使用**#### features
- React
- SSR
- CSR
- React-Router
- Fractal
- Centralized
- Redux- Fractal
- Centralized- Webpack
- Babel
- Antd
- Mobx
- Koa
- I18n
- Axios
- Jest & Testing-Library
- Puppeteer
- Eslint
- Prettier
- HRM & Hot-Reload
- DEY-log & Chalk
- Typescript
- PostCSS
- Less
- Mockjs (默认不启用)#### view
![home_ps](https://raw.githubusercontent.com/ctime-zliang/react-initbase/main/doc/home_ps.png)
#### fetch
```
git clone https://github.com/ctime-zliang/react-initbase
```#### usage
```
// 具体以 package.json 中定义的命令为准// 以服务端渲染方式启动应用或构建生产包文件
npm run ssr:*// 以客户端渲染方式启动应用或构建生产包文件
npm run client:*// 执行自动化测试
npm run jest:*
```