Skip to main content
Vuetify0 v1.0 is here
Vuetify0 Logo
Theme
Mode
Palettes
Accessibility
Vuetify One
Sign in to Vuetify One

Access premium tools across the Vuetify ecosystem — Bin, Play, Studio, and more.

Not a subscriber? See what's included

createTrinity API

Generates a typed [useX, provideX, defaultX] tuple for Vue's provide/inject dependency injection pattern.

Explore these related pages for additional context and usage patterns.

PageCategory
createTrinityFoundation
createContextFoundation
createPluginFoundation
CoreFundamentals

Functions

createTrinity

(keyOrUseContext: string | (() => Z), provideContextOrContext: Z | ((context: Z, app?: App) => Z), maybeContext?: Z | undefined) => ContextTrinity<Z>
Was this page helpful?

© 2016-1970 Vuetify, LLC
Services
Ctrl+/