i18n by next-intl

This commit is contained in:
Takeshi Kimata
2024-05-03 11:44:02 +09:00
parent 7af70399a1
commit 1e01535134
51 changed files with 194 additions and 87 deletions

View File

@@ -1,3 +1,6 @@
const createNextIntlPlugin = require("next-intl/plugin");
const withNextIntl = createNextIntlPlugin();
/** @type {import('next').NextConfig} */
const nextConfig = {
typescript: {
@@ -7,6 +10,6 @@ const nextConfig = {
// !! WARN !!
ignoreBuildErrors: true,
},
}
};
module.exports = nextConfig
module.exports = withNextIntl(nextConfig);