chore(dev): aggiorna workflow locale e configurazione Vite

Introduce script di sviluppo concorrenti (frontend + server) con concurrently.

Aggiorna dipendenze lockfile e rimuove dipendenze non più necessarie.

Aggiunge configurazione server/proxy Vite e include plugin WebSocket dedicato.
This commit is contained in:
2026-02-10 09:54:38 +01:00
parent f44138efd3
commit 9598d587c6
4 changed files with 370 additions and 9 deletions

View File

@@ -2,7 +2,7 @@ import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import { VitePWA } from 'vite-plugin-pwa'
// https://vitejs.dev/config/
// Configurazione principale di Vite
export default defineConfig({
base: '/',
plugins: [
@@ -32,4 +32,15 @@ export default defineConfig({
}
})
],
server: {
host: '0.0.0.0',
port: 5173,
proxy: {
'/': {
target: 'http://127.0.0.1:5174',
ws: true,
changeOrigin: true,
},
},
},
})