Nuxt/examples/i18n/nuxt.config.js

14 lines
233 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-04-14 09:55:04 +00:00
build: {
vendor: ['vue-i18n']
2017-02-10 12:05:05 +00:00
},
2017-02-08 17:49:16 +00:00
router: {
middleware: 'i18n'
},
2017-07-08 17:55:39 +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
}