vocs
vocs copied to clipboard
Enable setting head with Typescript
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