nomadro/apps/README.md
eric 9928c5185b Mount nav/book/community as native App Router routes in one Next process.
Replace reverse-proxy/iframe approach with @ebook/@community/@navmini imports under /nav /book /community so localhost:3000 serves all three products directly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 03:49:16 -05:00

20 lines
737 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Vertical apps — native App Router mounts (no iframe / no proxy)
| 入口 | URL | 源码 | 小程序 |
|------|-----|------|--------|
| 出海导航 | `/nav` | `apps/navmini` + `app/nav` | weapp / tt / xhs |
| 数字游民小册 | `/book` | `apps/ebook` + `app/book` | wemini / dymini / redmini |
| 旅居社群 | `/community` | `apps/nomadweb` + `app/community` | wemini / dymini / redmini |
门户 `pnpm dev`(`:3000`)一次启动即可打开三个入口。别名:`@ebook/*`、`@community/*`、`@navmini/*`。
外链跳转仍在 `components/sections/hero.tsx` 的 `EXTERNAL_*`(默认关闭)。
```bash
pnpm install
pnpm dev
# http://localhost:3000/nav
# http://localhost:3000/book
# http://localhost:3000/community
```