blob: da743c9c750ee4ea75aa67bbafbfcb75e99d4aa6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
---
'astro': major
---
Implements a new scope style strategy called `"attribute"`. When enabled, styles are applied using `data-*` attributes.
The **default** value of `scopedStyleStrategy` is `"attribute"`.
If you want to use the previous behaviour, you have to use the `"where"` option:
```diff
import { defineConfig } from 'astro/config';
export default defineConfig({
+ scopedStyleStrategy: 'where',
});
```
|