tuned header of recipe lists for smartphones

This commit is contained in:
Anika Raemer 2025-09-14 17:30:33 +02:00
parent 5c3c74b32e
commit 686eddbaee
24 changed files with 2563 additions and 29 deletions

View file

@ -1,6 +1,13 @@
import { defineConfig } from "vite"
import { defineConfig, loadEnv } from "vite"
import react from "@vitejs/plugin-react"
export default defineConfig({
plugins: [react()],
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, process.cwd(), "")
return {
plugins: [react()],
server: {
host: env.VITE_HOST || "localhost",
port: Number(env.VITE_PORT) || 5173,
},
}
})