ソースを参照

add compiler result field (#4845)

ref: CompiledResult type at flow/compiler.js
kazuya kawaguchi 9 年 前
コミット
e853d1994d
1 ファイル変更1 行追加0 行削除
  1. 1 0
      packages/vue-template-compiler/README.md

+ 1 - 0
packages/vue-template-compiler/README.md

@@ -22,6 +22,7 @@ Compiles a template string and returns compiled JavaScript code. The returned re
 
 ``` js
 {
+  ast: ?ASTElement, // parsed template elements to AST
   render: string, // main render function code
   staticRenderFns: Array<string>, // render code for static sub trees, if any
   errors: Array<string> // template syntax errors, if any