mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
spa loading defaults
more design agnostic for general usage
This commit is contained in:
parent
a6a36b1d2f
commit
2e11827209
@ -23,23 +23,19 @@ module.exports = {
|
|||||||
*/
|
*/
|
||||||
css: ['~/assets/main.css'],
|
css: ['~/assets/main.css'],
|
||||||
/*
|
/*
|
||||||
** Cutomize loading indicator
|
** Customize loading indicator
|
||||||
*/
|
*/
|
||||||
loadingIndicator: {
|
loadingIndicator: {
|
||||||
/*
|
/*
|
||||||
** See https://github.com/nuxt/nuxt.js/tree/dev/lib/app/views/loading for available loading indicators
|
** 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
|
** You can add a custom indicator by giving a path
|
||||||
** Default: 'circle'
|
|
||||||
*/
|
*/
|
||||||
name: 'folding-cube',
|
// name: 'folding-cube',
|
||||||
/*
|
/*
|
||||||
** You can give custom options given to the template
|
** 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
|
** See https://github.com/nuxt/nuxt.js/blob/dev/lib/app/views/loading/folding-cube.html
|
||||||
** Default:
|
|
||||||
** - color: '#3B8070'
|
|
||||||
** - background: 'white'
|
|
||||||
*/
|
*/
|
||||||
color: '#222',
|
// color: '#DBE1EC'
|
||||||
background: 'white'
|
// background: 'white'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -60,8 +60,8 @@ Options.from = function (_options) {
|
|||||||
|
|
||||||
// Apply defaults to loadingIndicator
|
// Apply defaults to loadingIndicator
|
||||||
options.loadingIndicator = Object.assign({
|
options.loadingIndicator = Object.assign({
|
||||||
name: 'circle',
|
name: 'pulse',
|
||||||
color: '#3B8070',
|
color: '#dbe1rc',
|
||||||
background: 'white'
|
background: 'white'
|
||||||
}, options.loadingIndicator)
|
}, options.loadingIndicator)
|
||||||
|
|
||||||
@ -274,5 +274,8 @@ Options.defaults = {
|
|||||||
ignored: /-dll/
|
ignored: /-dll/
|
||||||
},
|
},
|
||||||
chokidar: {}
|
chokidar: {}
|
||||||
|
},
|
||||||
|
messages: {
|
||||||
|
not_found: 'This page could not be found.'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user