mirror of
https://github.com/vercel-labs/json-render.git
synced 2026-10-21 06:30:33 +08:00
* feat: vue support * feat: add a vite example * use css instead of inline styles * feat: add tests * chore: use portless * fix: update reactivity * chore: update * chore: build * feat: add hooks, add missing zod peer deps
32 lines
712 B
HTML
32 lines
712 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>@json-render multi-renderer demo</title>
|
|
<style>
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: #f3f4f6;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
#renderer-root {
|
|
max-width: 640px;
|
|
margin: 0 auto;
|
|
padding: 24px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="renderer-root"></div>
|
|
<script type="module" src="/src/main.ts"></script>
|
|
</body>
|
|
</html>
|