I using with nuxt.js and nuxt-i18n
to use locales.
But I always got this message on console by duplicate that even I using nuxt generate from folder structure.
Message:
Routing:
Sample of config:
modules: [
'@nuxtjs/axios',
['nuxt-i18n', {
locales: [
{ name: 'ภาษาไทย', code: 'th', iso: 'th-TH', file: 'th.js' },
{ name: 'English', code: 'th', iso: 'en-US', file: 'en.js' }
],
defaultLocale: 'th',
lazy: true,
langDir: 'lang/'
}]
],
Please help. Thanks.