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
Currently, one has to use the n-config-provider component to customize naive-ui. However, sometimes one has multiple entry points (e.g. multiple layouts) or an additional storybook. In these cases, it would be nice if the config could be specified once for the whole app using an app-level-provide.
Expected API (期望的 API)
Create a NaiveUI vue plugin which then can be used via
No, we won't provide it. It doesn't provide any new effect that can't be achieved config provider and would be hard to maintain for the library maintainer.
This function solves the problem (这个功能解决的问题)
Currently, one has to use the
n-config-provider
component to customize naive-ui. However, sometimes one has multiple entry points (e.g. multiple layouts) or an additional storybook. In these cases, it would be nice if the config could be specified once for the whole app using an app-level-provide.Expected API (期望的 API)
Create a
NaiveUI
vue plugin which then can be used viaThe text was updated successfully, but these errors were encountered: