htmx-router
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -29,4 +29,4 @@ "use strict"; | ||
function Link(props, contents) { | ||
return elements.createElement("a", { target: props.target || "", style: props.style || "", href: props.to, "hx-get": props.to }, contents); | ||
return elements.createElement("a", { target: props.target || "", style: props.style || "", href: props.to, "hx-get": props.to, "hx-headers": '{"Cache-Control": "no-cache"}' }, contents); | ||
} | ||
exports.Link = Link; |
{ | ||
"name": "htmx-router", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"description": "A remix.js style file path router for htmX websites", | ||
@@ -5,0 +5,0 @@ "main": "./bin/index.js", |
26665