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
Is your feature request related to a problem? Please describe.
When creating addons that introduces other component libraries, some will require a context provider to enable the full capability of the libraries. e.g. to provide themes. Currently, seems like we only have control on the app object, (can do app.use(), etc), but we don't have access to the definition of the app itself.
Describe the solution you'd like
Give a config function for wrapping global context provider:
Is your feature request related to a problem? Please describe.
When creating addons that introduces other component libraries, some will require a context provider to enable the full capability of the libraries. e.g. to provide themes. Currently, seems like we only have control on the
app
object, (can doapp.use()
, etc), but we don't have access to the definition of the app itself.Describe the solution you'd like
Give a config function for wrapping global context provider:
This should be put in
createApp()
And the configuration will look like:
See also in:
#2039
tusen-ai/naive-ui#6733
The text was updated successfully, but these errors were encountered: