Nuxt/examples/i18n/nuxt.config.js

11 lines
191 B
JavaScript
Raw Normal View History

2017-02-08 16:33:13 +00:00
module.exports = {
2017-06-04 12:28:39 +00:00
loading: { color: 'cyan' },
2017-02-08 17:49:16 +00:00
router: {
middleware: 'i18n'
},
2017-10-31 13:43:55 +00:00
plugins: ['~/plugins/i18n.js'],
2017-04-14 09:55:04 +00:00
generate: {
routes: ['/', '/about', '/fr', '/fr/about']
2017-06-04 12:28:39 +00:00
}
2017-02-08 16:33:13 +00:00
}