Skip to content

Commit

Permalink
Update README.md (#4898)
Browse files Browse the repository at this point in the history
* 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 <fkschott@gmail.com>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
  • Loading branch information
3 people authored Sep 28, 2022
1 parent 3832c08 commit 9103ac5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/integrations/tailwind/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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()],
}
});
```


Expand Down

0 comments on commit 9103ac5

Please sign in to comment.