Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
docs: 补充 api-bundle 项目的介绍 (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
辛宝Otto authored May 10, 2023
1 parent 07595bf commit 0b7556f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,8 +108,8 @@ Midway Hooks 目前提供了如下模板:
- [react-faas](https://github.com/midwayjs/hooks/blob/main/examples/react-faas)
- [vue-faas](https://github.com/midwayjs/hooks/blob/main/examples/vue-faas)
- Api Server
- [api](https://github.com/midwayjs/hooks/blob/main/examples/api)
- [api-bundle](https://github.com/midwayjs/hooks/blob/main/examples/api-bundle)
- [api](https://github.com/midwayjs/hooks/blob/main/examples/api) 后端接口服务
- [api-bundle](https://github.com/midwayjs/hooks/blob/main/examples/api-bundle) 在上面案例的基础上,通过 [@vercel/ncc](https://www.npmjs.com/package/@vercel/ncc) 构建为单文件

基于指定创建应用命令如下:

Expand Down
2 changes: 1 addition & 1 deletion examples/api-bundle/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Use this template:
npx degit https://github.com/midwayjs/hooks/examples/api-bundle ./hooks-app
```

Tech stack: midway hooks + koa
Tech stack: midway hooks + koa + `@vercel/ncc`

- dev: `npm run dev`
- prod: `npm run start`

0 comments on commit 0b7556f

Please sign in to comment.