cloudflare / cloudflare/templates

Dynamic metadata on vite react template

Open
#316 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
2.1k
Forks
1k
Avg merge
17h 44m
Merged PRs (30d)
10

Description

Any example how to add dynamic headers/metadata on vite react template?

For example: adding title, description based on the path from D1 database. So, the `index.html` should be served by hono instead the static file given on the root of the directory.

https://github.com/cloudflare/templates/tree/main/vite-react-template

I have posted on Hono discussion as well, so more details here - https://github.com/orgs/honojs/discussions/4018

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.