wip: progress

This commit is contained in:
Evan You
2021-04-05 18:13:29 -04:00
parent 40e3dd28e1
commit 53b8127a9c
10 changed files with 341 additions and 256 deletions

View File

@@ -6,6 +6,7 @@ import {
registerRuntimeCompiler,
RenderFunction,
warn,
createApp,
createCompatVue
} from '@vue/runtime-dom'
import { isString, NOOP, generateCodeFrame, extend } from '@vue/shared'
@@ -91,7 +92,7 @@ function compileToFunction(
registerRuntimeCompiler(compileToFunction)
const Vue = createCompatVue()
const Vue = createCompatVue(createApp)
Vue.compile = compileToFunction
extend(Vue, runtimeDom)