mirror of
https://framagit.org/les/gancio.git
synced 2025-01-31 16:42:22 +01:00
Loading component between pages
This commit is contained in:
parent
ea9e58be56
commit
aa146e55ff
1 changed files with 24 additions and 19 deletions
|
@ -21,12 +21,18 @@ module.exports = {
|
||||||
/*
|
/*
|
||||||
** Customize the progress-bar color
|
** Customize the progress-bar color
|
||||||
*/
|
*/
|
||||||
loading: { color: 'orange', height: '5px' },
|
loading: '~/components/Loading.vue',
|
||||||
|
// loading: {
|
||||||
|
// name: 'circle',
|
||||||
|
// color: '#3B8070',
|
||||||
|
// background: 'white'
|
||||||
|
// },
|
||||||
/*
|
/*
|
||||||
** Global CSS
|
** Global CSS
|
||||||
*/
|
*/
|
||||||
css: [
|
css: [
|
||||||
'@mdi/font/css/materialdesignicons.css',
|
'@mdi/font/css/materialdesignicons.css',
|
||||||
|
// '@fontsource/roboto',
|
||||||
'@/assets/style.less'
|
'@/assets/style.less'
|
||||||
// 'bootstrap/dist/css/bootstrap.min.css',
|
// 'bootstrap/dist/css/bootstrap.min.css',
|
||||||
// 'element-ui/lib/theme-chalk/index.css',
|
// 'element-ui/lib/theme-chalk/index.css',
|
||||||
|
@ -59,30 +65,29 @@ module.exports = {
|
||||||
** Nuxt.js modules
|
** Nuxt.js modules
|
||||||
*/
|
*/
|
||||||
modules: [
|
modules: [
|
||||||
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }],
|
|
||||||
// Doc: https://axios.nuxtjs.org/usage
|
// Doc: https://axios.nuxtjs.org/usage
|
||||||
'@nuxtjs/axios',
|
'@nuxtjs/axios',
|
||||||
'@nuxtjs/auth',
|
'@nuxtjs/auth',
|
||||||
'nuxt-winston-log'
|
['nuxt-express-module', { expressPath: 'server/', routesPath: 'server/routes' }]
|
||||||
],
|
],
|
||||||
|
|
||||||
// configure nuxt-winston-log module
|
// configure nuxt-winston-log module
|
||||||
winstonLog: {
|
// winstonLog: {
|
||||||
skipRequestMiddlewareHandler: true,
|
// skipRequestMiddlewareHandler: true,
|
||||||
useDefaultLogger: false,
|
// useDefaultLogger: false,
|
||||||
loggerOptions: {
|
// loggerOptions: {
|
||||||
transports: process.env.NODE_ENV !== 'production'
|
// transports: process.env.NODE_ENV !== 'production'
|
||||||
? [new transports.Console(
|
// ? [new transports.Console(
|
||||||
{ level: 'debug', format: format.combine(format.simple(), format.errors({ stack: true })) }
|
// { level: 'debug', format: format.combine(format.colorize(), format.simple(), format.errors({ stack: true })) }
|
||||||
)]
|
// )]
|
||||||
: [new transports.File(
|
// : [new transports.File(
|
||||||
{
|
// {
|
||||||
filename: 'gancio.log',
|
// filename: 'gancio.log',
|
||||||
format: format.combine(format.simple(), format.errors({ stack: true }))
|
// format: format.combine(format.simple(), format.errors({ stack: true }))
|
||||||
}
|
// }
|
||||||
)]
|
// )]
|
||||||
}
|
// }
|
||||||
},
|
// },
|
||||||
/*
|
/*
|
||||||
** Axios module configuration
|
** Axios module configuration
|
||||||
* See https://github.com/nuxt-community/axios-module#options
|
* See https://github.com/nuxt-community/axios-module#options
|
||||||
|
|
Loading…
Reference in a new issue