Files
Devour/devour_data/docs/client-setup.json
T
Tomas Dvorak 898a3c303f update
2026-02-24 10:33:59 +01:00

17 lines
1.6 KiB
JSON

{
"id": "8bfa814e4f3d1b5a5ea8a5be",
"source": "solid:signals",
"type": "github-document",
"title": "client-setup",
"content": "---\ntitle: Client setup\norder: 2\nuse_cases: \u003e-\n seo, meta tags, document head management, social media tags, page titles,\n canonical urls\ntags:\n - meta\n - seo\n - head\n - client\n - tags\nversion: '1.0'\ndescription: \u003e-\n Manage document head tags in Solid apps. Add titles, meta tags, and links\n dynamically for better SEO and social media sharing.\n---\n\nYou can inject a tag into the `\u003chead /\u003e` by rendering one of the head tag components when necessary.\nNo special requirements are needed on the client side.\n\n```js\nimport { MetaProvider, Title, Link, Meta } from \"@solidjs/meta\";\n\nconst App = () =\u003e (\n\t\u003cMetaProvider\u003e\n\t\t\u003cdiv class=\"Home\"\u003e\n\t\t\t\u003cTitle\u003eTitle of page\u003c/Title\u003e\n\t\t\t\u003cLink rel=\"canonical\" href=\"http://solidjs.com/\" /\u003e\n\t\t\t\u003cMeta name=\"example\" content=\"whatever\" /\u003e\n\t\t\t// ...\n\t\t\u003c/div\u003e\n\t\u003c/MetaProvider\u003e\n);\n```",
"url": "https://github.com/solidjs/solid-docs/blob/HEAD/src/routes/solid-meta/getting-started/client-setup.mdx",
"metadata": {
"path": "src/routes/solid-meta/getting-started/client-setup.mdx",
"repo": "solidjs/solid-docs",
"repo_url": "https://github.com/solidjs/solid-docs.git",
"size": 821,
"source_type": "github"
},
"hash": "bd8404538b4c2445e1c45430771fced87bd6cf923a9b2854b4505990ed71ae08",
"timestamp": "2026-02-23T11:43:00.191019539+01:00"
}