Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/guide/essentials/content-scripts.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ To create a standalone content script that only includes a CSS file:
WXT provides 3 built-in utilities for adding UIs to a page from a content script:

- [Integrated](#integrated) - `createIntegratedUi`
- [Shadow Root](#shadow-root) -`createShadowRootUi`
- [Shadow Root](#shadow-root) - `createShadowRootUi`
- [IFrame](#iframe) - `createIframeUi`

Each has their own set of advantages and disadvantages.
Expand Down
4 changes: 2 additions & 2 deletions docs/guide/essentials/entrypoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -537,8 +537,8 @@ Firefox does not support sandboxed pages.
:patterns="[
['sidepanel.html', 'sidepanel.html'],
['sidepanel/index.html', 'sidepanel.html'],
['{name}.sidepanel.html', '{name}.html` '],
['{name}.sidepanel/index.html', '{name}.html` '],
['{name}.sidepanel.html', '{name}.html'],
['{name}.sidepanel/index.html', '{name}.html'],
]"
/>

Expand Down
6 changes: 3 additions & 3 deletions docs/guide/resources/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ This is usually caused by one of two things (or both) when using `createShadowRo
import ReactDOM from 'react-dom/client';
import App from './App.tsx';

const ui = await create`ShadowRoot`Ui(ctx, {
const ui = await createShadowRootUi(ctx, {
// ...
onMount: (container, shadow) => {
const cssContainer = shadow.querySelector('head')!;
Expand Down Expand Up @@ -80,7 +80,7 @@ This is usually caused by one of two things (or both) when using `createShadowRo
import { createApp } from 'vue';
import App from './App.vue';

const ui = await create`ShadowRoot`Ui(ctx, {
const ui = await createShadowRootUi(ctx, {
// ...
onMount: (container, shadow) => {
const teleportTarget = shadow.querySelector('body')!;
Expand All @@ -104,7 +104,7 @@ This is usually caused by one of two things (or both) when using `createShadowRo
import App from './App.tsx';
import PortalTargetContext from '~/hooks/PortalTargetContext';

const ui = await create`ShadowRoot`Ui(ctx, {
const ui = await createShadowRootUi(ctx, {
// ...
onMount: (container, shadow) => {
const portalTarget = shadow.querySelector('body')!;
Expand Down
Loading