Proxy /_themes to the backend in the Vite dev server

This commit is contained in:
2026-08-18 05:49:00 +00:00
parent 30947df16b
commit 7ec0d10155
+1 -1
View File
@@ -15,7 +15,7 @@ const CONTENT_PROXY = '^\\/(?!_|@|src|node_modules|__)(?:[^./?]+(?:\\/[^./?]+)*)
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
plugins: [ plugins: [
fastapiVue({ paths: ["/_api", "/_f"] }), fastapiVue({ paths: ["/_api", "/_f", "/_themes"] }),
vue(), vue(),
vueDevTools(), vueDevTools(),
], ],