fix import of htmx.org so that extensions can be loaded and registered
This commit is contained in:
parent
2d8076acf9
commit
d94763188d
1 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,5 @@
|
||||||
import 'htmx.org'
|
import htmx from 'htmx.org/dist/htmx.esm.js'
|
||||||
//import 'htmx-ext-sse'
|
//console.log(htmx)
|
||||||
//import 'htmx-ext-path-params'
|
window.htmx = htmx
|
||||||
|
require('htmx-ext-sse')
|
||||||
|
require('htmx-ext-path-params')
|
||||||
|
|
Loading…
Add table
Reference in a new issue