Nuxt/examples/spa/nuxt.config.js

32 lines
745 B
JavaScript
Raw Normal View History

2017-08-18 13:44:43 +00:00
module.exports = {
2017-08-18 14:46:54 +00:00
/*
** Single Page Application mode
** Means no SSR
*/
2017-08-18 13:44:43 +00:00
mode: 'spa',
2017-08-18 14:46:54 +00:00
/*
** Add css for appear transition
*/
css: ['~/assets/main.css'],
/*
** Cutomize loading indicator
*/
2017-08-18 13:44:43 +00:00
loadingIndicator: {
/*
** See https://github.com/nuxt/nuxt.js/tree/dev/lib/app/views/loading for available loading indicators
** You can add a custom indicator by giving a path
** Default: 'circle'
*/
name: 'folding-cube',
/*
** You can give custom options given to the template
** See https://github.com/nuxt/nuxt.js/blob/dev/lib/app/views/loading/folding-cube.html
** Default:
** - color: '#3B8070'
** - background: 'white'
*/
color: '#222',
2017-08-18 14:46:54 +00:00
background: 'white'
2017-08-18 13:44:43 +00:00
}
}