🎉 Basic i18n support
This commit is contained in:
@@ -228,7 +228,8 @@ export default {
|
||||
['@nuxtjs/google-tag-manager', {
|
||||
id: process.env.GTM_ID || 'GTM-MXWD8NQ'
|
||||
}],
|
||||
['@nuxtjs/robots']
|
||||
['@nuxtjs/robots'],
|
||||
['nuxt-i18n']
|
||||
],
|
||||
pwa: {
|
||||
manifest: {
|
||||
@@ -277,6 +278,24 @@ export default {
|
||||
Allow: '/',
|
||||
Sitemap: 'https://postwoman.io/sitemap.xml'
|
||||
},
|
||||
i18n: {
|
||||
locales: [{
|
||||
code: 'en',
|
||||
name: 'English',
|
||||
iso: 'en-US',
|
||||
file: 'en-US.js'
|
||||
},
|
||||
{
|
||||
code: 'es',
|
||||
name: 'Español',
|
||||
iso: 'es-ES',
|
||||
file: 'es-ES.js'
|
||||
}
|
||||
],
|
||||
defaultLocale: 'en',
|
||||
lazy: true,
|
||||
langDir: 'lang/'
|
||||
},
|
||||
/*
|
||||
** Build configuration
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user