You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`resolveComponent` can only be used within render functions.
199
+
`resolveComponent` can only be used within `render` or `setup` functions.
200
200
:::
201
201
202
202
Allows resolving a `component` by its name, if it is available in the current application instance.
@@ -229,10 +229,39 @@ Accepts one argument: `component`
229
229
230
230
The name of a loaded component.
231
231
232
+
## resolveDynamicComponent
233
+
234
+
:::warning
235
+
`resolveDynamicComponent` can only be used within `render` or `setup` functions.
236
+
:::
237
+
238
+
Allows resolving a `component` by the same mechanism that `<component :is="">` employs.
239
+
240
+
Returns the resolved `Component` or a newly created `VNode` with the component name as the node tag. Will raise a warning if the `Component` was not found.
0 commit comments