Created
November 13, 2023 03:29
-
-
Save nearbycoder/c90352cf2c86fb83db6706fc2ba722a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** @jsxImportSource https://esm.sh/vue */ | |
import { renderToString } from "npm:vue/server-renderer"; | |
const x = "<div/>"; | |
export const vueDom = renderToString(<div x={x}>Test {x}</div>); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment