fix: 补全前端最小可运行入口 + 修前端配置缺陷
- 新增 index.html / src/main.tsx / src/App.tsx / src/index.css 最小入口 - 补 tsconfig.node.json(tsconfig 引用却缺失,导致 tsc 失败) - package.json 加 type:module + 缺失的 eslint 依赖 (@eslint/js / globals / typescript-eslint),eslint.config.js 此前 import 即崩 - 验证:pnpm build / lint / typecheck 三门禁全过,dist 正常产出 至此 backend / agent / frontend 三服务最小骨架均可运行。
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<!doctype html>
|
||||
<html lang="zh-CN">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>{{ project_name }}</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
<script type="module" src="/src/main.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user