feat(compiler-sfc): compileScript inline render function mode

This commit is contained in:
Evan You
2020-11-10 16:28:34 -05:00
parent 3f99e239e0
commit 886ed7681d
8 changed files with 192 additions and 77 deletions

View File

@@ -124,6 +124,8 @@ export function createTransformContext(
ssr = false,
ssrCssVars = ``,
bindingMetadata = EMPTY_OBJ,
inline = false,
inlinePropsIdentifier = `$props`,
onError = defaultOnError
}: TransformOptions
): TransformContext {
@@ -142,6 +144,8 @@ export function createTransformContext(
ssr,
ssrCssVars,
bindingMetadata,
inline,
inlinePropsIdentifier,
onError,
// state