summaryrefslogtreecommitdiff
path: root/examples/with-tailwindcss/astro.config.mjs
diff options
context:
space:
mode:
authorGravatar Yaroslav Lapin <jlarky@gmail.com> 2022-10-18 06:22:48 -0700
committerGravatar GitHub <noreply@github.com> 2022-10-18 09:22:48 -0400
commit66e8ae3bee9cd1acff156b7dc61ce56361ef4966 (patch)
tree2ded7fb53f5e9fed7d23d0c56c763d2b877bcef0 /examples/with-tailwindcss/astro.config.mjs
parentd7407dbb1595a8e621ec4a47a11d5ec368db1c33 (diff)
downloadastro-66e8ae3bee9cd1acff156b7dc61ce56361ef4966.tar.gz
astro-66e8ae3bee9cd1acff156b7dc61ce56361ef4966.tar.zst
astro-66e8ae3bee9cd1acff156b7dc61ce56361ef4966.zip
update with-tailwind example to use mdx (#5104)
* add mdx since md is deprecated now * rename .md -> .mdx * fix component import * yarn format
Diffstat (limited to 'examples/with-tailwindcss/astro.config.mjs')
-rw-r--r--examples/with-tailwindcss/astro.config.mjs3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/with-tailwindcss/astro.config.mjs b/examples/with-tailwindcss/astro.config.mjs
index 4ad396807..393df1a4d 100644
--- a/examples/with-tailwindcss/astro.config.mjs
+++ b/examples/with-tailwindcss/astro.config.mjs
@@ -1,7 +1,8 @@
import { defineConfig } from 'astro/config';
+import mdx from '@astrojs/mdx';
import tailwind from '@astrojs/tailwind';
// https://astro.build/config
export default defineConfig({
- integrations: [tailwind()],
+ integrations: [mdx(), tailwind()],
});