MCPcopy
hub / github.com/vuejs/core / compile

Function compile

packages/vue/src/runtime.ts:12–25  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10export * from '@vue/runtime-dom'
11
12export const compile = (): void => {
13 if (__DEV__) {
14 warn(
15 `Runtime compilation is not supported in this build of Vue.` +
16 (__ESM_BUNDLER__
17 ? ` Configure your bundler to alias "vue" to "vue/dist/vue.esm-bundler.js".`
18 : __ESM_BROWSER__
19 ? ` Use "vue.esm-browser.js" instead.`
20 : __GLOBAL__
21 ? ` Use "vue.global.js" instead.`
22 : ``) /* should not happen */,
23 )
24 }
25}

Callers 2

runSharedTestsFunction · 0.90
finishComponentSetupFunction · 0.50

Calls 1

warnFunction · 0.50

Tested by 1

runSharedTestsFunction · 0.72