Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 553 Bytes

README.md

File metadata and controls

32 lines (25 loc) · 553 Bytes

next-app-starter

A ssr app starter build by Koa + Next + React + Redux + Typescript + Emotion styled engine + Material UI.

Setup

# 安装依赖
$ yarn install

# 开发
$ yarn dev

# 构建
$ yarn build
# 构建(ft)
$ yarn build:ft

# 启动
$ yarn start
# 启动(ft)
$ yarn start:ft
# 通过 pm2 启动
$ yarn pm2:start
# 通过 pm2 启动(ft)
$ yarn pm2:start-ft
# 在 docker 环境中通过 pm2-runtime 启动
$ yarn pm2:docker:start
# 在 docker 环境中通过 pm2-runtime 启动(ft)
$ yarn pm2:docker:start-ft