Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable setting head with Typescript #175

Open
Destiner opened this issue Jun 7, 2024 · 0 comments
Open

Enable setting head with Typescript #175

Destiner opened this issue Jun 7, 2024 · 0 comments

Comments

@Destiner
Copy link

Destiner commented Jun 7, 2024

Currently, <head> is managed using JSX layout.

Would be nice to allow using pure TS as an alternative, similar to how unhead does it.

Some props:

  • Granular type-safety (e.g. <script> tag props)
  • More control over rendering (e.g. append to the end of the document)
  • Easier to extend and import/export
  • No need to rename the config file to vocs.config.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant