mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 13:45:18 +00:00
docs(examples): optimize writing of : ?
(#7928)
This commit is contained in:
parent
bea2848246
commit
bda866050d
@ -5,7 +5,7 @@
|
|||||||
<NuxtLayout :name="layout">
|
<NuxtLayout :name="layout">
|
||||||
Default slot
|
Default slot
|
||||||
<br>
|
<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
|
Switch layout
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user