next-i18next-typesafe
v1.0.5
Published
[](https://badge.fury.io/js/next-i18next-typesafe) [](https://www.npmjs.com/package/next-i18next-typesafe) [;
// Nextjs use next-i18next
// React use react-i18nextCLI (file package.json)
-p: Port
-w: Watch
-c: Config{
...
"scripts": {
...
// development
"next-i18next-typesafe": "next-i18next-typesafe -w",
// OR
"next-i18next-typesafe-port": "next-i18next-typesafe -p 1234 -w",
},
...
}Custom config file
- You can also use a custom config file instead of
i18n-typesafe.config.ts. Just create<FILE_NAME>.config.tsto build command
Exp: awesome.config.ts{
...
"scripts": {
...
// development
"next-i18next-typesafe": "next-i18next-typesafe -w -c awesome",
// OR
"next-i18next-typesafe-port": "next-i18next-typesafe -p 1234 -w -c awesome",
},
...
}Compile
npm run next-i18next-typesafeDemo

