- editor.html 独立 vite 入口,amis-editor npm 依赖与主应用本地 SDK 隔离 - 设计器:画布编辑/保存→overlay/还原标准版/预览;页面 Tab 管理员「设计」入口 - designer.spec.ts 7 用例(编辑→保存→渲染 overlay→还原,X-Schema-Layer 断言);全套 e2e 68/68 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
21 lines
821 B
HTML
21 lines
821 B
HTML
<!DOCTYPE html>
|
||
<html lang="zh">
|
||
<head>
|
||
<meta charset="UTF-8" />
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||
<title>EIP4 页面设计器</title>
|
||
<!-- amis-editor 独立入口:用 npm 包版 amis,与主应用 sdk-local 完全隔离 -->
|
||
<!-- CSS 在 HTML 里直接引用,绕开 vite esbuild 对 amis-ui 包路径的解析 -->
|
||
<link rel="stylesheet" href="/node_modules/amis-editor-core/lib/style.css" />
|
||
<link rel="stylesheet" href="/node_modules/amis-ui/lib/themes/default.css" />
|
||
<link rel="stylesheet" href="/node_modules/amis-ui/lib/helper.css" />
|
||
<style>
|
||
html, body, #editor-root { height: 100%; margin: 0; overflow: hidden; }
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<div id="editor-root"></div>
|
||
<script type="module" src="/src/editor/main.tsx"></script>
|
||
</body>
|
||
</html>
|