Nuxt/examples/i18n/nuxt.config.js
2017-06-04 14:28:39 +02:00

14 lines
232 B
JavaScript

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