You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/rules/component-tags-order.md
+74-2
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ since: v6.1.0
14
14
15
15
## :book: Rule Details
16
16
17
-
This rule warns about the order of the `<script>`, `<template>` & `<style>` tags.
17
+
This rule warns about the order of the top-level tags, such as `<script>`, `<template>` & `<style>`.
18
18
19
19
## :wrench: Options
20
20
@@ -26,7 +26,7 @@ This rule warns about the order of the `<script>`, `<template>` & `<style>` tags
26
26
}
27
27
```
28
28
29
-
-`order` (`(string|string[])[]`) ... The order of top-level element names. default `[ [ "script", "template" ], "style" ]`.
29
+
-`order` (`(string|string[])[]`) ... The order of top-level element names. default `[ [ "script", "template" ], "style" ]`. May also be CSS selectors, such as `script[setup]` and `i18n:not([lang=en])`.
0 commit comments