feat: add path alias for src

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-06 09:38:02 +01:00
parent 27c72e0022
commit aaf5f608f5
52 changed files with 299 additions and 245 deletions
+3 -5
View File
@@ -43,8 +43,6 @@ function getElements(xElements = 10, yElements = 10): Elements {
return initialElements
}
const buttonWrapperStyles: CSSProperties = { position: 'absolute', right: 10, top: 10, zIndex: 4 }
const onLoad = (flowInstance: FlowInstance) => {
flowInstance.fitView()
console.log(flowInstance.getElements())
@@ -82,9 +80,9 @@ const updateElements = () => {
<Controls />
<Background />
<div :style="buttonWrapperStyles">
<button style="margin-right: 5px" @click="updatePos">change pos</button>
<button @click="updateElements">update elements</button>
<div class="absolute right-[10px] top-[10px] z-4">
<button class="button" @click="updatePos">change pos</button>
<button class="button" @click="updateElements">update elements</button>
</div>
</Flow>
</template>