Files
skills-here-run-place/node_modules/@astrojs/vue/dist/static-html.js
Alejandro Martinez f09af719cf Initial commit
2026-02-12 02:04:10 +01:00

21 lines
477 B
JavaScript

import { defineComponent, h } from "vue";
const StaticHtml = defineComponent({
props: {
value: String,
name: String,
hydrate: {
type: Boolean,
default: true
}
},
setup({ name, value, hydrate }) {
if (!value) return () => null;
let tagName = hydrate ? "astro-slot" : "astro-static-slot";
return () => h(tagName, { name, innerHTML: value });
}
});
var static_html_default = StaticHtml;
export {
static_html_default as default
};