Skip to content

Commit

Permalink
htmx included in app.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
longhotsummer committed Jul 15, 2024
1 parent df6219b commit 8440f35
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 4 deletions.
7 changes: 7 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"eslint-plugin-standard": "^4.0.1",
"eslint-plugin-vue": "^8.5.0",
"flag-icons": "^6.6.6",
"htmx.org": "^2.0.1",
"i18next": "^22.0.6",
"i18next-parser": "^6.5.0",
"lodash.debounce": "^4.0.8",
Expand Down
1 change: 1 addition & 0 deletions peachjam/js/peachjam.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import '@lawsafrica/law-widgets/dist/components/la-table-of-contents-controller'
import '@lawsafrica/law-widgets/dist/components/la-decorate-external-refs';
import '@lawsafrica/law-widgets/dist/components/la-decorate-internal-refs';
import '@lawsafrica/law-widgets/dist/components/la-decorate-terms';
import 'htmx.org';

export interface PeachJamConfig {
appName: string;
Expand Down
2 changes: 1 addition & 1 deletion peachjam/static/js/app-prod.js

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions peachjam/templates/peachjam/layouts/main.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
type="text/css"/>
{% endblock %}
{% block head-js %}
<script src="https://unpkg.com/[email protected]"
integrity="sha384-wS5l5IKJBvK6sPTKa2WZ1js3d947pvWXbPJ1OmWfEuxLgeHcEbjUUA5i9V5ZkpCw"
crossorigin="anonymous"></script>
{{ PEACHJAM_JS_CONFIG|json_script:"peachjam-config" }}
{% if not DEBUG %}
<!-- sentry -->
Expand Down

0 comments on commit 8440f35

Please sign in to comment.