Skip to content

Commit c4c7be0

Browse files
committed
1 parent fff10ea commit c4c7be0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/guide/pages.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,8 @@ defineProps({ user: Object })
246246
</template>
247247
```
248248

249-
Alternatively use the [defineOptions plugin](https://vue-macros.dev/macros/define-options.html) to define a layout within `<script setup>`:
249+
If you're using Vue 3.3+, you can alternatively use [`defineOptions`](https://vuejs.org/api/sfc-script-setup.html#defineoptions) to define a layout within `<script setup>`.
250+
Older versions of Vue can use the [defineOptions plugin](https://vue-macros.sxzz.moe/macros/define-options.html).
250251

251252
```vue
252253
<script setup>

0 commit comments

Comments
 (0)