This commit is contained in:
2026-06-25 12:05:53 -05:00
commit b58e50e423
141 changed files with 28190 additions and 0 deletions

40
vite.config.js Normal file
View File

@@ -0,0 +1,40 @@
import { defineConfig } from 'vite';
import vue from '@vitejs/plugin-vue';
import tailwindcss from '@tailwindcss/vite';
const apiTarget = process.env.API_PROXY_TARGET || 'http://127.0.0.1:5174';
export default defineConfig({
plugins: [vue(), tailwindcss()],
clearScreen: false,
define: {
__VUE_OPTIONS_API__: true,
__VUE_PROD_DEVTOOLS__: false,
__VUE_PROD_HYDRATION_MISMATCH_DETAILS__: false
},
server: {
port: 3000,
strictPort: true,
proxy: {
'/api': {
target: apiTarget,
changeOrigin: true,
secure: false
}
}
},
preview: {
port: 3000,
strictPort: true,
proxy: {
'/api': {
target: apiTarget,
changeOrigin: true,
secure: false
}
}
},
build: {
outDir: 'dist'
}
});