前端项目初始化,登录页支持暗色主题与禁止滑动

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
fish
2026-04-26 14:40:55 +08:00
parent bd258e19c2
commit c91e038953
29 changed files with 994 additions and 53 deletions

View File

@@ -0,0 +1,29 @@
services:
admin-web-dev:
build:
context: .
dockerfile: docker/Dockerfile.dev
container_name: asset-helper-admin-dev
environment:
- NODE_ENV=development
- CHOKIDAR_USEPOLLING=true
- VITE_API_BASE_URL=${VITE_API_BASE_URL:-http://host.docker.internal:80}
ports:
- "3000:5173"
volumes:
# 源码挂载(实现热更新)
- ./src:/app/src:ro
- ./index.html:/app/index.html:ro
- ./vite.config.ts:/app/vite.config.ts:ro
- ./tsconfig.json:/app/tsconfig.json:ro
- ./tsconfig.app.json:/app/tsconfig.app.json:ro
- ./tsconfig.node.json:/app/tsconfig.node.json:ro
# 不覆盖 node_modules
- /app/node_modules
networks:
- asset-helper-network
restart: unless-stopped
networks:
asset-helper-network:
driver: bridge