0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-23 21:53:55 -05:00
astro/.changeset/little-dryers-stare.md
Florian Lefebvre fd508a0fbb
feat(preact): add support for devtools (#10938)
* feat(preact): add support for devtools

* Update little-dryers-stare.md
2024-05-03 15:21:37 -04:00

18 lines
407 B
Markdown

---
"@astrojs/preact": minor
---
Adds a `devtools` option
You can enable [Preact devtools](https://preactjs.github.io/preact-devtools/) in development by setting `devtools: true` in your `preact()` integration config:
```js
import { defineConfig } from "astro/config"
import preact from "@astrojs/preact"
export default defineConfig({
integrations: [
preact({ devtools: true })
]
})
```