summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Elian ☕️ <hello@elian.codes> 2023-09-28 14:40:08 +0200
committerGravatar GitHub <noreply@github.com> 2023-09-28 14:40:08 +0200
commite9b77cbf196308f93c3bdebdfcd366e5b4af0131 (patch)
treed3f9ab0e9e342118c9b96b30c153f1eed7996df0
parentf5c617e3a3ed8f010ff28f0cfe0f322ad54ed6e0 (diff)
downloadastro-e9b77cbf196308f93c3bdebdfcd366e5b4af0131.tar.gz
astro-e9b77cbf196308f93c3bdebdfcd366e5b4af0131.tar.zst
astro-e9b77cbf196308f93c3bdebdfcd366e5b4af0131.zip
Update codesample for Alpine README (#8689)
Co-authored-by: HiDeoo <HiDeoo@users.noreply.github.com> Co-authored-by: Genteure <Genteure@users.noreply.github.com> Co-authored-by: Bryce Russell <brycetrussell@gmail.com> Co-authored-by: Reuben Tier <TheOtterlord@users.noreply.github.com> Co-authored-by: Hippo <hippotastic@users.noreply.github.com>
Diffstat (limited to '')
-rw-r--r--packages/integrations/alpinejs/README.md19
1 files changed, 10 insertions, 9 deletions
diff --git a/packages/integrations/alpinejs/README.md b/packages/integrations/alpinejs/README.md
index bb91966cd..0d8a52337 100644
--- a/packages/integrations/alpinejs/README.md
+++ b/packages/integrations/alpinejs/README.md
@@ -43,15 +43,16 @@ npm install alpinejs @types/alpinejs
Then, apply this integration to your `astro.config.*` file using the `integrations` property:
-```js ins={3} "alpine()"
-// astro.config.mjs
-import { defineConfig } from 'astro/config';
-import alpine from '@astrojs/alpinejs';
-
-export default defineConfig({
- // ...
- integrations: [alpine()],
-});
+```diff lang="js" "alpine()"
+ // astro.config.mjs
+ import { defineConfig } from 'astro/config';
++ import alpine from '@astrojs/alpinejs';
+
+ export default defineConfig({
+ // ...
+ integrations: [alpine()],
+ // ^^^^^^^^
+ });
```
## Usage