Skip to content

[Recursive Components] How to refer to itself from the script tag part? #10025

Discussion options

You must be logged in to vote

Maybe try importing the component into itself?

// Inside FooBar.vue
import FooBar from './FooBar.vue'

SFC Playground

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@andresmrm
Comment options

Answer selected by andresmrm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants