https://github.com/suhaotian/next-i18next-v2
experimental code for article
https://github.com/suhaotian/next-i18next-v2
Last synced: 3 months ago
JSON representation
experimental code for article
- Host: GitHub
- URL: https://github.com/suhaotian/next-i18next-v2
- Owner: suhaotian
- Created: 2024-03-28T00:02:53.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-03-28T00:04:19.000Z (about 1 year ago)
- Last Synced: 2025-02-02T22:13:11.515Z (4 months ago)
- Language: TypeScript
- Size: 78.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo code of the article
> Maybe will became an i18n lib for next.js app router.
- This repo use pnpm monorepo
- `./conditional-exports-example` for conditional exports example
- `./next-i18n-app` for the Next.js exampleInstall deps:
```sh
pnpm install
```Run dev:
```sh
pnpm dev
```Pages:
After run dev,
Open `http://localhost:3000` in browser
Or open `http://localhost:3000/improved` in browser