Nuxt/examples/i18n/nuxt.config.js
2018-03-12 00:58:56 +03:30

11 lines
191 B
JavaScript

module.exports = {
loading: { color: 'cyan' },
router: {
middleware: 'i18n'
},
plugins: ['~/plugins/i18n.js'],
generate: {
routes: ['/', '/about', '/fr', '/fr/about']
}
}