mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
fd508a0fbb
* feat(preact): add support for devtools * Update little-dryers-stare.md
18 lines
407 B
Markdown
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 })
|
|
]
|
|
})
|
|
```
|