-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6992288
commit 85f6740
Showing
2 changed files
with
6 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,13 +5,13 @@ | |
<title>Example</title> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<script src="https://unpkg.com/[email protected]"></script> | ||
<script src="https://unpkg.com/@htmx/template-htmx-ext@latest/example.js" defer></script> | ||
<script src="https://unpkg.com/@htmx/template-htmx-ext@latest/dist/index.js"></script> | ||
</head> | ||
|
||
<body> | ||
<h1>Example</h1> | ||
<p>This is an example page</p> | ||
<button hx-get="/example" hx-ext="debug">Load Example</button> | ||
<button hx-get="/example" hx-ext="example">Load Example</button> | ||
<div hx-target="#example" hx-swap="outerHTML"></div> | ||
<div id="example"></div> | ||
<script> | ||
|