fix(edges): dont inherit attrs on smoothstep/stepedges

This commit is contained in:
Braks
2022-04-01 00:27:27 +02:00
parent 4cc319981f
commit c68b1bf424
3 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@ const path = computed(() => {
<script lang="ts">
export default {
name: 'SmoothStepEdge',
inheritAttrs: false,
}
</script>
<template>

View File

@@ -16,6 +16,7 @@ const props = withDefaults(defineProps<EdgeProps>(), {
<script lang="ts">
export default {
name: 'StepEdge',
inheritAttrs: false,
}
</script>
<template>

View File

@@ -43,7 +43,6 @@ export default defineConfig({
vue(),
vueTypes(),
svgLoader(),
// https://github.com/antfu/unplugin-auto-import
AutoImport({
imports: ['vue', '@vueuse/core'],
dts: 'src/auto-imports.d.ts',