Skip to content

Commit

Permalink
install htmx from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
thescientist13 committed Aug 12, 2023
1 parent 07bd86c commit 59b6922
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"serve": "npm run clean && npm run build && greenwood serve",
"start": "npm run serve"
},
"dependencies": {
"htmx.org": "^1.9.4"
},
"devDependencies": {
"@greenwood/cli": "~0.29.0-alpha.2",
"@greenwood/plugin-adapter-vercel": "~0.29.0-alpha.2",
Expand Down
2 changes: 1 addition & 1 deletion src/pages/index.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html>
<head>
<script src="https://unpkg.com/htmx.[email protected]" integrity="sha384-zUfuhFKKZCbHTY6aRR46gxiqszMk5tcHjsVFxnUo8VMus4kHGVdIYVbOYYNlKmHV" crossorigin="anonymous"></script>
<script src="/node_modules/htmx.org/dist/htmx.js"></script>
<!-- Greeting API Setup -->
<!-- <script>
globalThis.addEventListener('DOMContentLoaded', () => {
Expand Down

0 comments on commit 59b6922

Please sign in to comment.