Skip to content

Commit

Permalink
docs: Add FAQ around configuring browser startup
Browse files Browse the repository at this point in the history
  • Loading branch information
aklinker1 committed Nov 16, 2024
1 parent db41f27 commit 226e6c9
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docs/guide/resources/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,14 @@ To list the content scripts registered during development, open the service work
await chrome.scripting.getRegisteredContentScripts();
```

## How do I disable opening the browser automatically during development?

See https://wxt.dev/guide/essentials/config/browser-startup.html#disable-opening-browser

## How do I stay logged into a website during development?

See https://wxt.dev/guide/essentials/config/browser-startup.html#persist-data

## My component library doesn't work in content scripts!

Component libraries place their CSS in the document's `<head>` by default. When using `createShadowRoot`, your UI is isolated from the document's styles because it's inside a ShadowRoot.
Expand Down

0 comments on commit 226e6c9

Please # to comment.