Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
croxton committed Dec 3, 2023
1 parent cac9acf commit 6945076
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ You want to run scripts when using `hx-boost` or `hx-get` swaps, and not have to
1. Include `components.min.js` in the `<head>` of your page, right after `htmx`:
```html
<script defer src="https://cdn.jsdelivr.net/gh/bigskysoftware/htmx@1.9.9/src/htmx.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/gh/croxton/htmx-components@1.0.1/dist/components.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/gh/croxton/htmx-components@1.0.2/dist/components.min.js"></script>
```

2. Create a folder in the webroot of your project to store components, e.g. `/scripts/components/.` Add a `<meta>` tag and set the `basePath` of your folder:
Expand Down

0 comments on commit 6945076

Please sign in to comment.