mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
19 lines
407 B
Markdown
19 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 })
|
||
|
]
|
||
|
})
|
||
|
```
|