feat: working mvp

This commit is contained in:
2025-12-20 18:54:17 +01:00
parent 978df91b6e
commit 4f045da855
5 changed files with 365 additions and 61 deletions
+1 -6
View File
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { computed, onMounted } from "vue";
import { computed } from "vue";
import * as icons from "lucide-vue-next";
interface Props {
@@ -25,11 +25,6 @@ function kebab2camel(kebab: string): string {
.join("");
}
onMounted(() => {
console.log(kebab2camel(props.name));
});
// @ts-expect-error: cannot infer type of all exported data
const icon = computed(() => icons[kebab2camel(props.name)]);
</script>