Support inject in app install
What problem does this feature solve?
We want to use inject
in app install
for recursive dependence.
What does the proposed API look like?
export default {
install (app: App, ...options: any[]) {
app.provide('some_token', SomeService(app.inject('another_token')));
}
}