Initial commit: WidgetWorkbench HMI V4
This commit is contained in:
8
hmi-frontend/vite.config.ts
Normal file
8
hmi-frontend/vite.config.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
import { defineConfig } from 'vite';
|
||||
import vue from '@vitejs/plugin-vue';
|
||||
export default defineConfig({
|
||||
plugins: [vue()],
|
||||
base: '/backend/hmi/',
|
||||
build: { outDir: '../backend/src/main/webapp/hmi', emptyOutDir: true },
|
||||
server: { proxy: { '/backend/': { target: 'http://localhost:8080', changeOrigin: true } } }
|
||||
});
|
||||
Reference in New Issue
Block a user