1
0
Fork 0
mirror of https://gitlab.com/bramw/baserow.git synced 2025-04-10 07:37:30 +00:00
bramw_baserow/web-frontend/config/nuxt.config.base.js
2019-08-26 17:49:28 +00:00

48 lines
884 B
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'],
router: {
middleware: 'authentication'
},
env: {
// The API base url, this will be prepended to the urls of the remote calls.
baseUrl: 'http://localhost:8000/api/v0'
}
}