admin-panel: build into the folder the Docker image actually serves
The Dockerfile does `COPY dist /usr/share/nginx/html` and nginx serves that
folder's root, but vite's outDir was 'dist/export' (carried over from legacy's
vue.config.js). So the deployed root kept serving whatever index.html had been
committed at dist/ — a stale pre-port prototype build (lang="en", title
"Gold Bank — Admin Panel", no ant-design-vue at all, committed 2026-09-10 in
cea3b80). That artifact, not the current source, renders as an unstyled stack
of bullets and bare tables.
outDir is now 'dist' (and 'branchDist'), matching what the image serves and
matching apps/user-app's convention.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
acc41c21d9
commit
9b6b54dc71
-30
File diff suppressed because one or more lines are too long
@@ -1 +0,0 @@
|
||||
header[data-v-83ac81a0]{padding:1rem;border-bottom:1px solid #ddd}main[data-v-83ac81a0]{padding:1rem}table[data-v-b7e9a99c]{width:100%;border-collapse:collapse}th[data-v-b7e9a99c],td[data-v-b7e9a99c]{text-align:left;padding:.5rem;border-bottom:1px solid #ddd}.error[data-v-b7e9a99c]{color:#b00020}table[data-v-15a1e392]{width:100%;border-collapse:collapse;margin-bottom:1rem}th[data-v-15a1e392],td[data-v-15a1e392]{text-align:left;padding:.4rem}.error[data-v-15a1e392],.error[data-v-f898fdad]{color:#b00020}
|
||||
Reference in New Issue
Block a user