Nuxt/examples/async-data/nuxt.config.js
Sébastien Chopin 2956e73c3e Loading component done
- Loading component working and customisable via nuxt.config.js (see
examples/async-data/)
- Accept callback for new Nuxt(options, cb) with cb(null, nuxt)
- Simplify async-data example
2016-11-07 19:21:32 +01:00

9 lines
165 B
JavaScript

module.exports = {
vendor: ['axios'], // Add axios in the vendor.bundle.js
loading: {
color: '#4FC08D',
failedColor: '#bf5050',
duration: 1500
}
}