https://github.com/yiminghe/micro-front-end-nextjs
make nextjs works with micro front end
https://github.com/yiminghe/micro-front-end-nextjs
microfrontend nextjs
Last synced: over 1 year ago
JSON representation
make nextjs works with micro front end
- Host: GitHub
- URL: https://github.com/yiminghe/micro-front-end-nextjs
- Owner: yiminghe
- License: mit
- Created: 2023-03-30T09:40:52.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-25T10:47:40.000Z (about 3 years ago)
- Last Synced: 2025-03-16T11:21:23.532Z (over 1 year ago)
- Topics: microfrontend, nextjs
- Language: TypeScript
- Homepage: https://micro-front-end-nextjs-main.vercel.app/
- Size: 700 KB
- Stars: 9
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# micro-front-end-nextjs
micro front end application using garfish and nextjs(with [a single line patch](https://github.com/vercel/next.js/discussions/48064))
## demo
```
pnpm install
pnpm dev
```
main app: http://localhost:3000/ https://micro-front-end-nextjs-main.vercel.app/
nextjs app1: http://localhost:3001/app1 https://micro-front-end-nextjs-app1.vercel.app/app1
nextjs app2: http://localhost:3002/app2 https://micro-front-end-nextjs-app2.vercel.app/app2
## tech stack
### garfish
- cross app router
- fetch sub app entry html
- sandbox
### nextjs
- app router
- ssg/ssr (currently only works for ssg because of entry cache)