Fastapi-vue-setup updated to 1.4.0: prettier logs.

This commit is contained in:
2026-08-31 20:50:38 +00:00
parent fd1987c9b3
commit 7a4544731d
5 changed files with 57 additions and 25 deletions
+2
View File
@@ -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-pagerite",
config: () => ({
clearScreen: false,
server: { proxy },
build: {
outDir: "../pagerite/frontend-build",