Nuxt/examples/i18n/nuxt.config.js
Sébastien Chopin 6f84f69b7a Fix paths & typo
2017-07-08 19:55:39 +02:00

14 lines
233 B
JavaScript

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