Skip to content

Commit

Permalink
fix: use new dist path
Browse files Browse the repository at this point in the history
  • Loading branch information
katallaxie authored Nov 7, 2024
1 parent 6992288 commit 85f6740
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@

This is a template repository for creating HTMX extensions.

## Getting Started

Use this template to create a new repository for your HTMX extension.

## License

[MIT](/LICENSE)
4 changes: 2 additions & 2 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 85f6740

Please sign in to comment.