hubez-admin partner-git master -> hubez-git transfer 202205241800

This commit is contained in:
hyunjin35
2022-05-24 18:12:19 +09:00
parent 013e992bc7
commit ad80b88089
309 changed files with 50355 additions and 91 deletions

22
frontend/vue.config.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = {
/** build config */
outputDir: process.env.NODE_ENV === 'production'
? '../src/main/resources/templates' : 'dist', // html, ico 파일 저장
assetsDir: process.env.NODE_ENV === 'production'
? '../static' : '', // css, img, js 저장. outputDir에 대한 상대 경로
/**
* /api/** 요청은 backend 서버로 전달한다.
* 이 설정이 없으면 axios에서 baseURL 설정하고 backend에서는 cors 설정 해야한다.
*/
devServer: {
proxy: {
'^/api': {
target: 'http://localhost:7070',
changeOrigin: true
}
}
},
runtimeCompiler: true,
}