From be8dc0c513854882b3e5437c16449737a358f2f9 Mon Sep 17 00:00:00 2001 From: Leo Vasanko Date: Mon, 31 Aug 2026 19:53:05 +0000 Subject: [PATCH] Don't clear screen on vite startup as that hides our own startup banner. --- template/frontend/vite-plugin-fastapi.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/template/frontend/vite-plugin-fastapi.js b/template/frontend/vite-plugin-fastapi.js index 60f0b2d..0679486 100644 --- a/template/frontend/vite-plugin-fastapi.js +++ b/template/frontend/vite-plugin-fastapi.js @@ -5,6 +5,7 @@ * Configures Vite for FastAPI backend integration: * - Proxies /api/* requests to the FastAPI backend * - Builds to the Python module's frontend-build directory + * - Disables Vite's screen clearing on startup * * Options: * paths - Array of paths to proxy (default: ["/api"]) @@ -26,6 +27,7 @@ export default function fastapiVue({ paths = ["/api"] } = {}) { return { name: "vite-plugin-fastapi-MODULE_NAME", config: () => ({ + clearScreen: false, server: { proxy }, build: { outDir: "../MODULE_NAME/frontend-build",