mirror of
https://github.com/withastro/astro.git
synced 2025-02-03 22:29:08 -05:00
24 lines
541 B
Markdown
24 lines
541 B
Markdown
---
|
|
'@astrojs/tailwind': major
|
|
---
|
|
|
|
Rename options `config.path` to `configFile`, and `config.applyBaseStyles` to `applyBaseStyles`. If you are using these options, you need to migrate to the new names.
|
|
|
|
```diff
|
|
// astro.config.mjs
|
|
import { defineConfig } from 'astro/config';
|
|
import tailwind from '@astrojs/tailwind';
|
|
|
|
export default defineConfig({
|
|
integrations: [
|
|
tailwind({
|
|
- config: {
|
|
- path: '...',
|
|
- applyBaseStyles: true,
|
|
- },
|
|
+ configFile: '...',
|
|
+ applyBaseStyles: true,
|
|
}),
|
|
],
|
|
});
|
|
```
|