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
+1 -1
View File
@@ -1,4 +1,4 @@
import { ConnectionMode, FlowState } from '../types'
import { ConnectionMode, FlowState } from '~/types'
export const initialState = (): FlowState => ({
dimensions: {
+3 -3
View File
@@ -1,6 +1,6 @@
import { setActivePinia, createPinia, defineStore, StoreDefinition } from 'pinia'
import isEqual from 'fast-deep-equal'
import { Edge, FlowState, Node, FlowActions } from '../types'
import { Edge, FlowState, Node, FlowActions } from '~/types'
import {
clampPosition,
getDimensions,
@@ -11,8 +11,8 @@ import {
isNode,
parseEdge,
parseNode,
} from '../utils'
import { getHandleBounds } from '../components/Nodes/utils'
} from '~/utils'
import { getHandleBounds } from '~/components/Nodes/utils'
type NextElements = {
nextNodes: Node[]