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 <fkschott@gmail.com>
Co-authored-by: Yan Thomas <61414485+Yan-Thomas@users.noreply.github.com>
This commit is contained in:
stijlmassi 2022-09-28 18:36:49 +02:00 committed by GitHub
parent 3832c083d4
commit 9103ac57fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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()],
}
});
```