Skip to content
This repository has been archived by the owner on Nov 23, 2023. It is now read-only.

Support <head> tag generation from SSR #20

Open
2 tasks done
babsonmatt opened this issue Jun 24, 2022 · 2 comments
Open
2 tasks done

Support <head> tag generation from SSR #20

babsonmatt opened this issue Jun 24, 2022 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@babsonmatt
Copy link

Prerequisites

  • I have written a descriptive issue title
  • I have searched existing issues to ensure the issue has not already been raised

Issue

Hello! I'm looking to check out fastify-dx but unsure with how to integrate with a UI library like mantine.dev. Any chance you could provide a little info on how to go about it? https://mantine.dev/theming/ssr/ has an example for generic integration with ssr.

Thanks in advance!

@galvez
Copy link
Member

galvez commented Jun 24, 2022

That's an interesting problem — that guide is targeted at frameworks that do <head> management at the SSR level.

Fastify DX sends out the <head> outside the SSR phase by default — but that can bet tweaked easily!

I'll work on an example.

@babsonmatt
Copy link
Author

@galvez awesome, thank you!

@galvez galvez changed the title How to implement with component libraries that require injecting CSS for SSR? Support <head> tag generation from SSR Jul 10, 2022
@galvez galvez added the enhancement New feature or request label Jul 10, 2022
@galvez galvez self-assigned this Jul 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants