feat(core): add missing styles warning
This commit is contained in:
@@ -11,6 +11,7 @@ import { useVueFlow } from '../../composables/useVueFlow'
|
||||
import { useHooks } from '../../store/hooks'
|
||||
import EdgeRenderer from '../EdgeRenderer/EdgeRenderer.vue'
|
||||
import NodeRenderer from '../NodeRenderer/NodeRenderer.vue'
|
||||
import { useStylesLoadedWarning } from '../../composables/useStylesLoadedWarning'
|
||||
|
||||
const props = withDefaults(defineProps<FlowProps>(), {
|
||||
snapToGrid: undefined,
|
||||
@@ -70,6 +71,8 @@ useHooks(emit, hooks)
|
||||
|
||||
useOnInitHandler()
|
||||
|
||||
useStylesLoadedWarning()
|
||||
|
||||
// slots will be passed via provide
|
||||
// this is to avoid having to pass them down through all the components
|
||||
// as that would require a lot of boilerplate and causes significant performance drops
|
||||
|
||||
Reference in New Issue
Block a user