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
2020-03-24 19:22:34 +00:00

56 lines
1.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/global.js' },
{ src: '@/plugins/client.js' },
{ src: '@/plugins/auth.js' },
{ src: '@/plugins/vuelidate.js' }
],
/**
* Nuxt.js modules
*/
modules: [
'@nuxtjs/axios',
'cookie-universal-nuxt',
'@/modules/database/module.js'
],
router: {
middleware: ['authentication']
},
env: {
// The API base url, this will be prepended to the urls of the remote calls.
baseUrl: 'http://backend:8000/api/v0',
// If the API base url must different at the browser side it can be changed
// here.
publicBaseUrl: 'http://localhost:8000/api/v0'
}
}