Nuxt/examples/async-data/nuxt.config.js
2017-10-31 21:43:55 +08:00

19 lines
280 B
JavaScript

module.exports = {
build: {
vendor: ['axios'] // Add axios in the vendor.bundle.js
},
loading: {
color: '#4FC08D',
failedColor: '#bf5050',
duration: 1500
},
head: {
title: 'Default title'
},
generate: {
routes: [
'/posts/1'
]
}
}