mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
docs(examples): optimize writing of : ?
(#7928)
This commit is contained in:
parent
bea2848246
commit
bda866050d
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user