vocs icon indicating copy to clipboard operation
vocs copied to clipboard

Enable setting head with Typescript

Open Destiner opened this issue 1 year ago • 0 comments

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

Destiner avatar Jun 07 '24 10:06 Destiner