feature: vor und nachteile

This commit is contained in:
Hikyu
2026-05-31 13:54:31 +02:00
parent 552a947a1c
commit e3dad17446
23270 changed files with 3024794 additions and 200 deletions
+30
View File
@@ -0,0 +1,30 @@
<!--
PlantUML
(auto transformed, you don't need to use this component directly)
Usage:
```plantuml
@startuml
Alice -> Bob : Hello!
@enduml
```
-->
<script setup lang="ts">
import { computed } from 'vue'
const props = withDefaults(defineProps<{
code: string
server: string
scale?: number
alt?: string
}>(), {
alt: 'PlantUML diagram',
})
const uri = computed(() => `${props.server}/svg/${props.code}`)
</script>
<template>
<img :src="uri" :style="{ scale }" :alt="alt">
</template>