Skip to content

Commit 23b32e8

Browse files
Adds note about overriding existing tags (#1452)
Adds note about overriding existing tags ref: solidjs/solid-meta#18 Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 6e47249 commit 23b32e8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/routes/solid-meta/getting-started/installation-and-setup.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ To get started, install using your preferred package manager.
4444

4545
3. If using Solid on the server with JSX, no additional configuration is required.
4646

47+
:::note[Overriding existing tags]
48+
If your `index.html` includes a `<head>` tag, Solid-Meta will not overwrite its contents. You can mark individual tags as overwritable by adding an empty `data-sm` attribute to them.
49+
:::
50+
4751
Here is an example of how your code might look after this setup.
4852

4953
```js

0 commit comments

Comments
 (0)