diff --git a/playground/App.vue b/playground/App.vue index e54febc..c3dc753 100644 --- a/playground/App.vue +++ b/playground/App.vue @@ -20,23 +20,23 @@ v-for="tab in ['editor', 'types', 'schema']" :key="tab" class="tab select-none px-3 mx-1 rounded inline" - :class="[tab == activeTab ? 'bg-gray-400' : 'bg-gray-200']" - @click="activeTab = tab" + :class="[tab == state.activeTab ? 'bg-gray-400' : 'bg-gray-200']" + @click="state.activeTab = tab" > {{ tab[0].toUpperCase() + tab.substr(1) }} -
- +
+
-
+
-
+
@@ -46,9 +46,9 @@