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:
parent
3832c083d4
commit
9103ac57fb
1 changed files with 3 additions and 2 deletions
|
@ -51,12 +51,13 @@ Then, apply this integration to your `astro.config.*` file using the `integratio
|
||||||
__`astro.config.mjs`__
|
__`astro.config.mjs`__
|
||||||
|
|
||||||
```js
|
```js
|
||||||
|
import { defineConfig } from 'astro/config';
|
||||||
import tailwind from '@astrojs/tailwind';
|
import tailwind from '@astrojs/tailwind';
|
||||||
|
|
||||||
export default {
|
export default defineConfig({
|
||||||
// ...
|
// ...
|
||||||
integrations: [tailwind()],
|
integrations: [tailwind()],
|
||||||
}
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue