Skip to content
This repository has been archived by the owner on Apr 6, 2023. It is now read-only.

docs(examples): optimize writing of : ? #7928

Merged
merged 1 commit into from Sep 30, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/routing/layouts/pages/dynamic.vue
Expand Up @@ -5,7 +5,7 @@
<NuxtLayout :name="layout">
Default slot
<br>
<button class="border p-1 rounded" @click="layout ? layout = null : layout = 'custom'">
<button class="border p-1 rounded" @click="layout = layout ? null : 'custom'">
Switch layout
</button>

Expand Down