From 9103ac57fb177eeb83fa0aac4d3d64c0b0403b72 Mon Sep 17 00:00:00 2001 From: stijlmassi Date: Wed, 28 Sep 2022 18:36:49 +0200 Subject: [PATCH] Update README.md (#4898) * Update README.md In the astro.config.mjs: defineConfig() was missing. * Update packages/integrations/tailwind/README.md Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> Co-authored-by: Fred K. Schott Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com> --- packages/integrations/tailwind/README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/integrations/tailwind/README.md b/packages/integrations/tailwind/README.md index d48bcf56fc86..862dfadbd132 100644 --- a/packages/integrations/tailwind/README.md +++ b/packages/integrations/tailwind/README.md @@ -51,12 +51,13 @@ Then, apply this integration to your `astro.config.*` file using the `integratio __`astro.config.mjs`__ ```js +import { defineConfig } from 'astro/config'; import tailwind from '@astrojs/tailwind'; -export default { +export default defineConfig({ // ... integrations: [tailwind()], -} +}); ```