How to render single component on server to HTML
Hi, is there any way to render single component to HTML on server? Something like https://react.dev/reference/react-dom/server/renderToStaticMarkup does?
2 Replies
Maybe this would help? https://nuxt.com/docs/guide/directory-structure/components#server-components
Nuxt
components/ · Nuxt Directory Structure
The components/ directory is where you put all your Vue components.
I would like to use it for something like this https://react.email/docs/utilities/render, so I don't think server components are useable for it.
Nevermind, I found this https://github.com/Dave136/vue-email ð