2026-03-21 02:04:11 +00:00
|
|
|
<!doctype html>
|
|
|
|
|
<html lang="en">
|
2026-03-21 01:42:22 +00:00
|
|
|
<head>
|
2026-03-21 02:04:11 +00:00
|
|
|
<meta charset="UTF-8" />
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
|
<title>Alpine + TypeScript Demo</title>
|
2026-03-21 01:42:22 +00:00
|
|
|
</head>
|
|
|
|
|
<body>
|
2026-03-21 02:04:11 +00:00
|
|
|
<div x-data="greeting">
|
|
|
|
|
<h1 x-text="message"></h1>
|
|
|
|
|
<input type="text" x-model="name" placeholder="Enter your name" />
|
|
|
|
|
<p>Hello, <span x-text="name"></span>!</p>
|
|
|
|
|
<button @click="updateMessage">Change Message</button>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<script src="/static/bundle.js"></script>
|
2026-03-21 01:42:22 +00:00
|
|
|
</body>
|
2026-02-07 05:51:21 +00:00
|
|
|
</html>
|