Skip to content

falcon11/ssr-with-eggjs

Repository files navigation

ssr-with-eggjs

umi ssr with eggjs

QuickStart

see egg docs for more detail.

Development

# 安装 eggjs 项目依赖
yarn
# 安装 web 项目依赖
cd app/web
yarn
# 启动开发环境
cd ../..
yarn dev
open http://localhost:7001/

Deploy

npm build
npm start
npm stop

npm scripts

  • Use npm run lint to check code style.
  • Use npm test to run unit test.
  • Use npm run autod to auto detect dependencies upgrade, see autod for more detail.