wip(compiler-dom): v-model runtime
This commit is contained in:
@@ -5,6 +5,7 @@ import { transformStyle } from './transforms/transformStyle'
|
||||
import { transformCloak } from './transforms/vCloak'
|
||||
import { transformVHtml } from './transforms/vHtml'
|
||||
import { transformVText } from './transforms/vText'
|
||||
import { transformModel } from './transforms/vModel'
|
||||
|
||||
export function compile(
|
||||
template: string,
|
||||
@@ -18,6 +19,7 @@ export function compile(
|
||||
cloak: transformCloak,
|
||||
html: transformVHtml,
|
||||
text: transformVText,
|
||||
model: transformModel, // override compiler-core
|
||||
...(options.directiveTransforms || {})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user