Reference / @getenginex/sdk-vue / EnginexPluginOptions
EnginexPluginOptions
Options of EnginexPlugin.
Properties
client
client:
EnginexClient
Core client (createEnginexClient). Create it once, outside the components, and reuse it.
installVueQuery?
optionalinstallVueQuery?:boolean
Installs TanStack's VueQueryPlugin on the app (default: true). Pass false if the app already installs it on its own; in that case also pass the queryClient you installed there.
queryClient?
optionalqueryClient?:QueryClient$1
The app's QueryClient (used as given, nothing changed). Without it, the plugin creates one per app (never a module singleton), with a staleTime of 60 s on queries.