第一
This commit is contained in:
@@ -37,10 +37,14 @@ export const DOMDirectiveTransforms: Record<string, DirectiveTransform> = {
|
||||
show: transformShow
|
||||
}
|
||||
|
||||
// 生成语法树
|
||||
export function compile(
|
||||
template: string,
|
||||
options: CompilerOptions = {}
|
||||
): CodegenResult {
|
||||
// template 模板
|
||||
// options 不知道干啥的参数
|
||||
// console.log(options)
|
||||
return baseCompile(
|
||||
template,
|
||||
extend({}, parserOptions, options, {
|
||||
|
||||
Reference in New Issue
Block a user