试验 React 内联上下文与原生表单登录流程

This commit is contained in:
2026-09-25 19:44:39 +00:00
parent 8c8b2ad352
commit dcf634d805
23 changed files with 2253 additions and 22 deletions
+12
View File
@@ -71,3 +71,15 @@ graalvmNative {
}
}
}
// Vite owns the HTML and hashed assets; only the controller can serve the page shell.
// Build it with `npm ci && npm run build` in frontend/ before invoking Gradle.
tasks.named('processResources') {
inputs.files(fileTree('frontend/dist'))
doFirst {
if (!file('frontend/dist/index.html').exists()) {
throw new GradleException('Missing UI build: run npm ci && npm run build in frontend/')
}
}
from('frontend/dist') { into 'ui' }
}