first commit
Some checks failed
linter / quality (push) Has been cancelled
tests / ci (push) Has been cancelled

This commit is contained in:
Kevin Adametz 2025-10-20 17:53:02 +02:00
commit 405df0a122
3083 changed files with 69203 additions and 0 deletions

57
vite.config-de.js Normal file
View file

@ -0,0 +1,57 @@
/**
* DEPRECATED: Diese Datei wird nicht mehr verwendet!
*
* Verwende stattdessen:
* - vite.portal.config.js für Backend (Portal mit FluxUI) - Port 5177
* - vite.web.config.js für Frontend (Presseecho & Businessportal24) - Port 5178
*
* Starten mit:
* npm run dev:portal // für Backend
* npm run dev:web // für Frontend
* npm run dev:all // für beide gleichzeitig
*
* Diese Datei bleibt nur als Referenz erhalten.
*/
import { defineConfig } from "vite";
import laravel from "laravel-vite-plugin";
import tailwindcss from "@tailwindcss/vite";
// SSL-Konfiguration - für Entwicklung ohne echte Zertifikate
const httpsConfig =
process.env.NODE_ENV === "production"
? {
// In Produktion: echte Zertifikate verwenden
key: process.env.SSL_KEY_PATH,
cert: process.env.SSL_CERT_PATH,
}
: false; // HTTP für Entwicklung, Traefik handhabt SSL
export default defineConfig({
plugins: [
laravel({
input: [
// Admin Bereich
"resources/css/portal.css",
// Web Theme CSS Dateien
"resources/css/web/shared-styles.css",
"resources/css/web/theme-presseecho.css",
"resources/css/web/theme-businessportal24.css",
"resources/js/app.js",
],
refresh: [`resources/views/**/*`],
}),
tailwindcss(),
],
server: {
https: false,
cors: true,
host: "0.0.0.0",
port: 5174,
hmr: {
host: "assets.pr-copilot.test",
protocol: "wss",
//port: 5174,
},
origin: "https://assets.pr-copilot.test",
},
});