wobsoriano / vue-clerk

Unofficial Vue + Clerk integration.
https://vue-clerk.com
MIT License
108 stars 8 forks source link

Accessing ClerkProvider #63

Closed seaniod closed 4 days ago

seaniod commented 5 days ago

A feature request would be to enable access to ClerkProvider.

It seems using ClerkProvider is the only way to set themes or to customize styling for clerk elements.

wobsoriano commented 4 days ago

Hi! Are you trying to update the props passed in the plugin? For now you can do something like

const clerk = useClerk()
clerk.__unstable__updateProps({ options: { localization: frFR } })

or if outside a setup component

window.Clerk.__unstable__updateProps({ options: { localization: frFR } })

Full list of options can be found here.