aboutsummaryrefslogtreecommitdiff
path: root/src/ui/demo/demo-wrapper.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/demo/demo-wrapper.vue')
-rw-r--r--src/ui/demo/demo-wrapper.vue20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/ui/demo/demo-wrapper.vue b/src/ui/demo/demo-wrapper.vue
index 8d4bae0..c4d3604 100644
--- a/src/ui/demo/demo-wrapper.vue
+++ b/src/ui/demo/demo-wrapper.vue
@@ -1,3 +1,12 @@
+<script lang="ts" setup>
+import _ from 'lodash';
+import { demoRoutes } from './demo.routes';
+
+const route = useRoute();
+
+const componentName = computed(() => _.startCase(String(route.name).replace(/^c-/, '')));
+</script>
+
<template>
<div mt-2 w-full p-8>
<h1>c-lib components</h1>
@@ -25,14 +34,3 @@
</div>
</div>
</template>
-
-<script lang="ts" setup>
-import _ from 'lodash';
-import { demoRoutes } from './demo.routes';
-
-const route = useRoute();
-
-const componentName = computed(() => _.startCase(String(route.name).replace(/^c-/, '')));
-</script>
-
-<style lang="less" scoped></style>