Getting Started

Client setup

Edit this page

You can inject a tag into the <head /> by rendering one of the head tag components when necessary. No special requirements are needed on the client side.

import { MetaProvider, Title, Link, Meta } from "@solidjs/meta";
const App = () => (
<MetaProvider>
<div class="Home">
<Title>Title of page</Title>
<Link rel="canonical" href="http://solidjs.com/" />
<Meta name="example" content="whatever" />
// ...
</div>
</MetaProvider>
);
Report an issue with this page