summaryrefslogtreecommitdiff
path: root/packages/integrations/preact/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'packages/integrations/preact/README.md')
-rw-r--r--packages/integrations/preact/README.md21
1 files changed, 10 insertions, 11 deletions
diff --git a/packages/integrations/preact/README.md b/packages/integrations/preact/README.md
index 61e074f19..752cb1adf 100644
--- a/packages/integrations/preact/README.md
+++ b/packages/integrations/preact/README.md
@@ -137,20 +137,19 @@ export default defineConfig({
// Enable many frameworks to support all different kinds of components.
// No `include` is needed if you are only using a single JSX framework!
integrations: [
- preact({
- include: ['**/preact/*']
- }),
- react({
- include: ['**/react/*']
- }),
- solid({
- include: ['**/solid/*'],
- }),
- ]
+ preact({
+ include: ['**/preact/*'],
+ }),
+ react({
+ include: ['**/react/*'],
+ }),
+ solid({
+ include: ['**/solid/*'],
+ }),
+ ],
});
```
-
## Examples
- The [Astro Preact example](https://github.com/withastro/astro/tree/latest/examples/framework-preact) shows how to use an interactive Preact component in an Astro project.