diff --git a/docs/rules/order-in-components.md b/docs/rules/order-in-components.md index 0820c8035..8fae0c294 100644 --- a/docs/rules/order-in-components.md +++ b/docs/rules/order-in-components.md @@ -85,9 +85,9 @@ export default { ["props", "propsData"], "emits", "setup", - "fetch", "asyncData", "data", + "fetch", "head", "computed", "watch", diff --git a/lib/rules/order-in-components.js b/lib/rules/order-in-components.js index 92b9b4c15..5f3373458 100644 --- a/lib/rules/order-in-components.js +++ b/lib/rules/order-in-components.js @@ -56,9 +56,9 @@ const defaultOrder = [ 'setup', // for Vue 3.x // Local State (local reactive properties) - 'fetch', // for Nuxt 'asyncData', // for Nuxt 'data', + 'fetch', // for Nuxt 'head', // for Nuxt 'computed',