在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:Baiang/ReactSSR开源软件地址:https://github.com/Baiang/ReactSSR开源编程语言:TypeScript 72.8%开源软件介绍:server-side rendering(SSR) scheme based on Next.js+Koa React
Background: In the use of react, there is no scaffolding tool like vue-cli, egg enterprise architecture and code specification; for novices, it is not suitable for immediate action. Doc
Features
Quick Start# git clone
> git clone [email protected]:Baiang/ReactSSR.git
# install
> npm install
# dev
> npm run dev
# Eslint code detection and prettier formatting code
> npm run eslint
# Automatic eslint code detection and prettier formatting code
> npm run lint:watch
# Unit test and coverage test
> npm run test
# build
> npm run build
# analyze:bundles
> npm run analyze:bundles
# Start the server
> npm run start EslintYou can use the Standard specification or you can choose Airbnb. Eslint offers two specifications:
Unit testReact unit test based on Jest + Enzyme Editor syntax highlightingStyled-jsx syntax highlighting method https://github.com/zeit/styled-jsx TODOs
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论