Skip to content

Commit

Permalink
deploy: ec682e9
Browse files Browse the repository at this point in the history
  • Loading branch information
shawn111 committed Dec 23, 2023
1 parent 22e14f3 commit bc05106
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions frontend/alpine-hello.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<html>
<head>
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>
<body>
<h1 x-data="{ message: 'I ❤️ Alpine' }" x-text="message"></h1>
<div x-data="{ open: false }">
<button @click="open = true">
Expand
</button>

<span x-show="open">
Content...
</span>
</div>
</body>
</html>

0 comments on commit bc05106

Please sign in to comment.