You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/vue-template-compiler/README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ The optional `options` object can contain the following:
38
38
39
39
-`modules`
40
40
41
-
An array of compiler modules. For details on compiler modules, refer to its [type definition](https://github.com/vuejs/vue/blob/dev/flow/compiler.js#L35) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules).
41
+
An array of compiler modules. For details on compiler modules, refer to the `ModuleOptions`type in [flow declarations](https://github.com/vuejs/vue/blob/dev/flow/compiler.js) and the [built-in modules](https://github.com/vuejs/vue/tree/dev/src/platforms/web/compiler/modules).
42
42
43
43
-`directives`
44
44
@@ -80,7 +80,7 @@ This is only useful at runtime with pre-configured builds, so it doesn't accept
80
80
81
81
### compiler.parseComponent(file, [options])
82
82
83
-
Parse a SFC (single-file component, or `*.vue` file) into a [descriptor](https://github.com/vuejs/vue/blob/dev/flow/compiler.js#L137). This is used in SFC build tools like `vue-loader` and `vueify`.
83
+
Parse a SFC (single-file component, or `*.vue` file) into a descriptor (refer to the `SFCDescriptor` type in [flow declarations](https://github.com/vuejs/vue/blob/dev/flow/compiler.js)). This is used in SFC build tools like `vue-loader` and `vueify`.
0 commit comments