feat(docs): replace vitepress with vuepress

* vitepress too limited
This commit is contained in:
Braks
2022-04-04 21:42:48 +02:00
parent 981511c76f
commit 3bbe92a4ea
31 changed files with 885 additions and 501 deletions
+17
View File
@@ -0,0 +1,17 @@
<script lang="ts" setup>
import { Handle, NodeProps, Position } from "@braks/vue-flow";
interface RBGOutputNodeProps extends NodeProps {
rgb: string;
}
const props = defineProps<RBGOutputNodeProps>();
</script>
<template>
<div :style="{ backgroundColor: props.rgb }"
class="px-6 py-2 rounded-xl text-white text-center min-w-[220px] border-2 border-white">
<div class="text-xl font-bold">Color Output</div>
<div class="font-semibold">{{ props.rgb }}</div>
<Handle type="target" :position="Position.Left" />
</div>
</template>