Skip to content

Runtime configuration change? #3290

@m-thorsen

Description

@m-thorsen

Description

Sorry if this information is available, but I could not find an answer in the docs or by searching.

I was hoping to be able to let users select a theme that also included changing component defaults.
Using Vue/Vite (not Nuxt), is it possible to modify the full global configuration (ui object) at runtime (instead of having to pass props to or wrap each component)?

I'm not 100% averse to a bit of monkey patching on my current project, but a supported solution would obviously be much much better.

If this is not currently possible, please consider this a suggestion, for example via an ui prop on the App component or a useNuxtUi composable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requestedv3#1289

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions