2020-10-27 09:57:39 +02:00

41 lines
634 B
JavaScript

export default {
head: {
title: 'MalwareMultiScan UI',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1, shrink-to-fit=no' },
],
bodyAttrs: {
class: "bg-light"
}
},
components: true,
buildModules: [
'@nuxt/typescript-build',
],
modules: [
'bootstrap-vue/nuxt',
'@nuxtjs/axios',
'@nuxtjs/proxy'
],
axios: {
proxy: true,
prefix: '/api/'
},
proxy: {
'/api': {
target: process.env.API_URL || 'http://localhost:5000',
changeOrigin: true
}
},
bootstrapVue: {
icons: true
}
}