Work in progress: CharacterSheet implementation and FeatureChoice rework

This commit is contained in:
Clément Pons
2025-09-29 17:53:41 +02:00
parent b1ac379f1a
commit 1642cd513f
13 changed files with 889 additions and 664 deletions

View File

@@ -4,7 +4,7 @@
<script setup lang="ts">
import { parseURL } from 'ufo';
import proses, { fakeA } from '#shared/proses';
import proses, { preview } from '#shared/proses';
import { text } from '#shared/dom.util';
const { href, label } = defineProps<{
@@ -16,7 +16,7 @@ const container = useTemplateRef('container');
onMounted(() => {
queueMicrotask(() => {
container.value && container.value.appendChild(proses('a', fakeA, [ text(label) ], { href }) as HTMLElement);
container.value && container.value.appendChild(proses('a', preview, [ text(label) ], { href }) as HTMLElement);
});
});
</script>