mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-22 13:06:22 +00:00
fix: correr htmx junto a turbolinks
This commit is contained in:
parent
96aebb1346
commit
41ad7d806e
3 changed files with 7 additions and 7 deletions
|
@ -41,5 +41,5 @@ Rails.start()
|
||||||
Turbolinks.start()
|
Turbolinks.start()
|
||||||
ActiveStorage.start()
|
ActiveStorage.start()
|
||||||
|
|
||||||
window.htmx = require('htmx.org/dist/htmx.js')
|
window.htmx = require("@suttyweb/htmx.org/dist/htmx.js");
|
||||||
window.htmx.config.selfRequestsOnly = true;
|
window.htmx.config.selfRequestsOnly = true;
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
"@rails/ujs": "^6.1.3-1",
|
"@rails/ujs": "^6.1.3-1",
|
||||||
"@rails/webpacker": "5.4.4",
|
"@rails/webpacker": "5.4.4",
|
||||||
"@suttyweb/editor": "^0.1.29",
|
"@suttyweb/editor": "^0.1.29",
|
||||||
|
"@suttyweb/htmx.org": "^1.9.13",
|
||||||
"babel-loader": "^8.2.2",
|
"babel-loader": "^8.2.2",
|
||||||
"bs-custom-file-input": "^1.3.4",
|
"bs-custom-file-input": "^1.3.4",
|
||||||
"chart.js": "^3.5.1",
|
"chart.js": "^3.5.1",
|
||||||
|
@ -22,7 +23,6 @@
|
||||||
"commonmark": "^0.29.0",
|
"commonmark": "^0.29.0",
|
||||||
"fork-awesome": "^1.1.7",
|
"fork-awesome": "^1.1.7",
|
||||||
"fork-ts-checker-webpack-plugin": "^6.1.0",
|
"fork-ts-checker-webpack-plugin": "^6.1.0",
|
||||||
"htmx.org": "^1.9.11",
|
|
||||||
"input-map": "git+https://0xacab.org/sutty/input-map.git",
|
"input-map": "git+https://0xacab.org/sutty/input-map.git",
|
||||||
"input-tag": "git+https://0xacab.org/sutty/input-tag.git",
|
"input-tag": "git+https://0xacab.org/sutty/input-tag.git",
|
||||||
"leaflet": "^1.7.1",
|
"leaflet": "^1.7.1",
|
||||||
|
|
10
yarn.lock
10
yarn.lock
|
@ -1984,6 +1984,11 @@
|
||||||
linkifyjs "^4.1.1"
|
linkifyjs "^4.1.1"
|
||||||
prosemirror-svelte-nodeview "^1.0.2"
|
prosemirror-svelte-nodeview "^1.0.2"
|
||||||
|
|
||||||
|
"@suttyweb/htmx.org@^1.9.13":
|
||||||
|
version "1.9.13"
|
||||||
|
resolved "https://registry.yarnpkg.com/@suttyweb/htmx.org/-/htmx.org-1.9.13.tgz#bc67a5e2947d7cc125649b829610da8ee61f21af"
|
||||||
|
integrity sha512-/2x3AGXT2CFOmp8Nf59XY2brah5wSo4YvcctYA2zD4BByNft4XE0rUk4VM7TjPxR1LOzg6VK1crZmdiy3JyzxQ==
|
||||||
|
|
||||||
"@types/caseless@*":
|
"@types/caseless@*":
|
||||||
version "0.12.2"
|
version "0.12.2"
|
||||||
resolved "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.2.tgz"
|
resolved "https://registry.npmjs.org/@types/caseless/-/caseless-0.12.2.tgz"
|
||||||
|
@ -4575,11 +4580,6 @@ html-entities@^1.3.1:
|
||||||
resolved "https://registry.npmjs.org/html-entities/-/html-entities-1.4.0.tgz"
|
resolved "https://registry.npmjs.org/html-entities/-/html-entities-1.4.0.tgz"
|
||||||
integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==
|
integrity sha512-8nxjcBcd8wovbeKx7h3wTji4e6+rhaVuPNpMqwWgnHh+N9ToqsCs6XztWRBPQ+UtzsoMAdKZtUENoVzU/EMtZA==
|
||||||
|
|
||||||
htmx.org@^1.9.11:
|
|
||||||
version "1.9.11"
|
|
||||||
resolved "https://registry.yarnpkg.com/htmx.org/-/htmx.org-1.9.11.tgz#00192041ee682d6ca7146d0fbd901169ffe72d87"
|
|
||||||
integrity sha512-WlVuICn8dfNOOgYmdYzYG8zSnP3++AdHkMHooQAzGZObWpVXYathpz/I37ycF4zikR6YduzfCvEcxk20JkIUsw==
|
|
||||||
|
|
||||||
http-deceiver@^1.2.7:
|
http-deceiver@^1.2.7:
|
||||||
version "1.2.7"
|
version "1.2.7"
|
||||||
resolved "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz"
|
resolved "https://registry.npmjs.org/http-deceiver/-/http-deceiver-1.2.7.tgz"
|
||||||
|
|
Loading…
Reference in a new issue