mirror of
https://github.com/yude-jp/yude.jp
synced 2025-01-03 18:10:12 +09:00
Update next.config.js
This commit is contained in:
parent
a1cf438b97
commit
20582570fb
@ -1,15 +1,8 @@
|
|||||||
const nextTranslate = require('next-translate')
|
const nextTranslate = require('next-translate')
|
||||||
|
|
||||||
module.exports = nextTranslate({
|
module.exports = nextTranslate({
|
||||||
experimental: {
|
|
||||||
darkModeVariant: true
|
|
||||||
},
|
|
||||||
i18n: {
|
i18n: {
|
||||||
// These are all the locales you want to support in
|
|
||||||
// your application
|
|
||||||
locales: ['ja', 'en'],
|
locales: ['ja', 'en'],
|
||||||
// This is the default locale you want to be used when visiting
|
|
||||||
// a non-locale prefixed path e.g. `/hello`
|
|
||||||
defaultLocale: 'ja',
|
defaultLocale: 'ja',
|
||||||
},
|
},
|
||||||
images: {
|
images: {
|
||||||
|
Loading…
Reference in New Issue
Block a user