storing a component in a variable #8827
sanba-anass
started this conversation in
Ideas
Replies: 2 comments
-
You can't refer to the components using their template syntax (HTML) since you are not using JSX. Also since your isFoo variable is reactive you should use let instead otherwise if the value changes an error will be thrown. So instead you could use:
|
Beta Was this translation helpful? Give feedback.
0 replies
-
You can use "Component" element
Example: SFC |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions