We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 96e0e21 + 4a8e87f commit c4f12c3Copy full SHA for c4f12c3
docs/content/en/index.md
@@ -192,8 +192,22 @@ Changes API name from "$vfm" to any other string value. It is useful when you us
192
193
## **API**
194
195
+- In Options API:
196
+
197
Plugin API can be called within any component through `this.$vfm`.
198
199
+- In Composition API:
200
201
+```js
202
+import { inject } from 'vue'
203
204
+export default {
205
+ setup() {
206
+ const $vfm = inject('$vfm')
207
+ }
208
+}
209
+```
210
211
### `$vfm.show(name, params)`
212
213
- Type: `Function`
0 commit comments