knowyt/client/nuxt.config.js

30 lines
635 B
JavaScript
Raw Normal View History

2021-07-30 14:54:40 +00:00
export default {
ssr: false,
2021-07-30 18:18:04 +00:00
srcDir: 'src/',
2021-07-30 14:54:40 +00:00
target: 'static',
head: {
title: 'Know Your Teammates',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
],
link: [
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
]
},
css: [
'@/assets/css/fonts',
'@/assets/css/base',
],
2021-07-30 14:54:40 +00:00
components: true,
2021-07-30 18:18:04 +00:00
modules: ['@nuxtjs/axios'],
plugins: [{ src: '~/plugins/engine', mode: 'client' }],
2021-07-30 18:18:04 +00:00
axios: { proxy: true },
2021-08-05 00:22:28 +00:00
publicRuntimeConfig: {
serverBaseUrl: '/',
2021-08-05 00:22:28 +00:00
},
2021-07-30 18:18:04 +00:00
proxy: {
'/api/': 'http://localhost:32039',
},
2021-07-30 14:54:40 +00:00
}