first commit, i i have no idea what i have done

This commit is contained in:
tdv
2025-08-31 22:42:08 +03:00
commit c5632f6a37
177 changed files with 9173 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import path from 'node:path'
import tailwindcss from '@tailwindcss/vite'
// https://vite.dev/config/
export default defineConfig({
plugins: [vue(),tailwindcss()],
resolve: {
alias: {
'@': path.resolve(__dirname, './src'),
},
},
server: {
host: true, // listen on 0.0.0.0 inside container
port: 5173,
// Allow the container DNS name and local access
allowedHosts: ['localhost', '127.0.0.1', 'web', 'nginx'],
// Make HMR use the public port (80) when going through Nginx
hmr: {
clientPort: 80, // browser connects to ws://<host>:80/…
protocol: 'ws', // dev over HTTP
host: 'localhost', // adjust if you open via a LAN IP
},
},
})