create-fluxstack
Version:
⚡ Revolutionary full-stack TypeScript framework with Declarative Config System, Elysia + React + Bun
12 lines (10 loc) • 421 B
text/typescript
// Frontend standalone entry point
import { startFrontendOnly } from "../../core/client/standalone"
// Configuração para frontend standalone
const frontendConfig = {
clientPath: "app/client",
vitePort: (globalThis as any).process?.env?.FRONTEND_PORT || 5173,
apiUrl: (globalThis as any).process?.env?.API_URL || "http://localhost:3001"
}
// Iniciar apenas o frontend
startFrontendOnly(frontendConfig)