Skip to content

Commit b8025ad

Browse files
committed
refactor: move showcase components into a different folder
1 parent 6039166 commit b8025ad

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/App.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
import { ref } from 'vue'
33
import Button from '@/components/Button.vue'
44
import PresetSwitcher from '@/components/PresetSwitcher.vue'
5+
import DirectiveBenchmark from '@/components/showcase/DirectiveBenchmark.vue'
6+
import DirectiveExample from '@/components/showcase/DirectiveExample.vue'
7+
import TooltipExample from '@/components/showcase/TooltipExample.vue'
58
import ThemeToggle from '@/components/ThemeToggle.vue'
6-
import TooltipDirectiveBenchmark from '@/components/tooltip/TooltipDirectiveBenchmark.vue'
7-
import TooltipDirectiveExample from '@/components/tooltip/TooltipDirectiveExample.vue'
8-
import TooltipExample from '@/components/tooltip/TooltipExample.vue'
99
import packageJson from '../package.json'
1010
1111
type Tabs = 'component' | 'directive' | 'directive-benchmark'
@@ -145,8 +145,8 @@ const githubRepo = packageJson.repository.url.replace('.git', '')
145145
<!-- Examples Content -->
146146
<div class="bg-white dark:bg-gray-800 rounded-lg shadow-sm border border-gray-200 dark:border-gray-700 overflow-hidden">
147147
<TooltipExample v-if="activeTab === 'component'" />
148-
<TooltipDirectiveExample v-else-if="activeTab === 'directive'" />
149-
<TooltipDirectiveBenchmark v-else-if="activeTab === 'directive-benchmark'" />
148+
<DirectiveExample v-else-if="activeTab === 'directive'" />
149+
<DirectiveBenchmark v-else-if="activeTab === 'directive-benchmark'" />
150150
</div>
151151
</main>
152152

0 commit comments

Comments
 (0)