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.
1 parent 72a951f commit 64aa6a8Copy full SHA for 64aa6a8
README.md
@@ -57,7 +57,7 @@ After installing the plugin you can use the [Composition API](https://vue-compos
57
To let TypeScript properly infer types inside Vue component options, you need to define components with `createComponent`:
58
59
```ts
60
-import Vue from 'vue';
+import { createComponent } from 'vue-function-api';
61
62
const Component = createComponent({
63
// type inference enabled
README.zh-CN.md
@@ -57,7 +57,7 @@ Vue.use(VueFunctionApi);
为了让 TypeScript 正确的推到类型,我们必须使用 `createComponent` 来定义组件:
// 启用类型推断
0 commit comments