fix import of htmx.org so that extensions can be loaded and registered

This commit is contained in:
Helmut Merz 2024-07-02 10:21:32 +02:00
parent 2d8076acf9
commit d94763188d

View file

@ -1,3 +1,5 @@
import 'htmx.org'
//import 'htmx-ext-sse'
//import 'htmx-ext-path-params'
import htmx from 'htmx.org/dist/htmx.esm.js'
//console.log(htmx)
window.htmx = htmx
require('htmx-ext-sse')
require('htmx-ext-path-params')