1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-14 09:08:32 +00:00
bramw_baserow/web-frontend/config/nuxt.config.base.js
2019-06-21 20:22:57 +02:00

53 lines
1 KiB
JavaScript

export default {
mode: 'universal',
/*
** Headers of the page
*/
head: {
title: 'Baserow',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' }
]
},
/*
** Customize the progress-bar color
*/
loading: { color: '#fff' },
/*
** Global CSS
*/
css: ['@/assets/scss/default.scss'],
/*
** Plugins to load before mounting the App
*/
plugins: [{ src: '@/plugins/auth.js' }, { src: '@/plugins/vuelidate.js' }],
/*
** Nuxt.js modules
*/
modules: [
// Doc: https://axios.nuxtjs.org/usage
'@nuxtjs/axios'
],
/*
** Axios module configuration
*/
axios: {
// See https://github.com/nuxt-community/axios-module#options
},
env: {
// The API base url, this will be prepended to the urls of the remote calls.
baseUrl: 'http://localhost:8000',
// The JWT token expire time in seconds, when this time passes after a login
// or refresh, the token will be refreshed.
JWTTokenExpire: 300
}
}