Nuxt/examples/i18n/nuxt.config.js
2018-03-16 19:42:06 +03:30

11 lines
189 B
JavaScript

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