feat(docs): Add vitepress for docs & docs workspace
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import ConnectionLine from './ConnectionLine.vue'
|
||||
import { VueFlow, Background, BackgroundVariant, Elements } from '@braks/vue-flow'
|
||||
import ConnectionLine from './ConnectionLine.vue'
|
||||
|
||||
const elements = ref<Elements>([
|
||||
{
|
||||
|
||||
@@ -1,6 +1,17 @@
|
||||
<script lang="ts" setup>
|
||||
import {
|
||||
ConnectionMode,
|
||||
Controls,
|
||||
Elements,
|
||||
isEdge,
|
||||
MiniMap,
|
||||
Node,
|
||||
Position,
|
||||
SnapGrid,
|
||||
useVueFlow,
|
||||
VueFlow,
|
||||
} from '@braks/vue-flow'
|
||||
import ColorSelectorNode from './ColorSelectorNode.vue'
|
||||
import { ConnectionMode, Controls, Elements, isEdge, MiniMap, Node, Position, SnapGrid, useVueFlow, VueFlow } from '@braks/vue-flow'
|
||||
|
||||
const elements = ref<Elements>([])
|
||||
const bgColor = ref('#1A192B')
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<script lang="ts" setup>
|
||||
import { getElements } from './utils'
|
||||
import { VueFlow, FlowInstance } from '@braks/vue-flow'
|
||||
import { getElements } from './utils'
|
||||
|
||||
const instance = ref<FlowInstance>()
|
||||
const onLoad = (flowInstance: FlowInstance) => {
|
||||
|
||||
Reference in New Issue
Block a user