Skip to content
Bunshi
GitHub

provideInjector

provideInjector(injector): void

Provide an injector to children components.

This can be useful for testing and libraries to provide or replace an implementation of a MoleculeInterface.

Parameters

ParameterTypeDescription
injectorMoleculeInjectorthe injector to be provided to children components

Returns

void

Source

vue/useInjector.ts:23