Open marchitecht opened 1 year ago
const withNextIntl = require('next-intl/plugin')();
/** @type {import('next').NextConfig} */
const nextConfig = {
}
module.exports = withNextIntl(nextConfig);
I have done it like that and works. But I am having issues using useRouter to change between langugae routes:
Hello!
I'm in the process to add i18n module for translations.
in next.config.ts according to docs I have to wrap up like in pic below. Do you have any idea how to wrap up current nextConfig?