Skip to content

Commit

Permalink
docs: apply fixes from inertiajs/inertiajs.com#349
Browse files Browse the repository at this point in the history
  • Loading branch information
skryukov committed Oct 14, 2024
1 parent fff10ea commit c4c7be0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/guide/pages.md
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,8 @@ defineProps({ user: Object })
</template>
```

Alternatively use the [defineOptions plugin](https://vue-macros.dev/macros/define-options.html) to define a layout within `<script setup>`:
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>`.
Older versions of Vue can use the [defineOptions plugin](https://vue-macros.sxzz.moe/macros/define-options.html).

```vue
<script setup>
Expand Down

0 comments on commit c4c7be0

Please sign in to comment.