htmx-router
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -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, "hx-headers": '{"hx-headless": "true"}' }, contents); | ||
return elements.createElement("a", { target: props.target || "", style: props.style || "", href: props.to, "hx-get": props.to, "hx-headers": '{"hx-headless": "true", "Cache-Control": "no-cache"}' }, contents); | ||
} | ||
exports.Link = Link; |
{ | ||
"name": "htmx-router", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "A remix.js style file path router for htmX websites", | ||
@@ -5,0 +5,0 @@ "main": "./bin/index.js", |
26557