First commit
This commit is contained in:
commit
7cf3558ba7
12933 changed files with 1180047 additions and 0 deletions
45
vite.config.js
Normal file
45
vite.config.js
Normal file
|
|
@ -0,0 +1,45 @@
|
|||
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-b2in.css",
|
||||
"resources/css/web/theme-b2a.css",
|
||||
"resources/css/web/theme-stileigentum.css",
|
||||
"resources/css/web/theme-style2own.css",
|
||||
"resources/js/app.js",
|
||||
],
|
||||
refresh: [`resources/views/**/*`],
|
||||
}),
|
||||
tailwindcss(),
|
||||
],
|
||||
server: {
|
||||
https: false,
|
||||
cors: true,
|
||||
host: "0.0.0.0",
|
||||
port: 5174,
|
||||
hmr: {
|
||||
host: "assets.b2in.test",
|
||||
protocol: "wss",
|
||||
//port: 5174,
|
||||
},
|
||||
origin: "https://assets.b2in.test",
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue