This repo demonstrates how to use tolgee
with new next.js
app router.
An example based on next14
app folder with tolgee
and next-intl
package.
- Clone this repo
- Run
npm i
- Run
npm run dev
- Create project in Tolgee platform
- Add
.env.development.local
file to base folder of this project with an API key to your project
NEXT_PUBLIC_TOLGEE_API_URL=https://app.tolgee.io
NEXT_PUBLIC_TOLGEE_API_KEY=<your project API key>
- Re-run
npm run dev