-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
53 changed files
with
1,101 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
import Vue from './vue.runtime.common.js' | ||
export default Vue | ||
|
||
// this should be kept in sync with src/v3/index.ts | ||
export const { | ||
version, | ||
|
||
// refs | ||
ref, | ||
shallowRef, | ||
isRef, | ||
toRef, | ||
toRefs, | ||
unref, | ||
proxyRefs, | ||
customRef, | ||
triggerRef, | ||
computed, | ||
|
||
// reactive | ||
reactive, | ||
isReactive, | ||
isReadonly, | ||
isShallow, | ||
isProxy, | ||
shallowReactive, | ||
markRaw, | ||
toRaw, | ||
readonly, | ||
shallowReadonly, | ||
|
||
// watch | ||
watch, | ||
watchEffect, | ||
watchPostEffect, | ||
watchSyncEffect, | ||
|
||
// effectScope | ||
effectScope, | ||
onScopeDispose, | ||
getCurrentScope, | ||
|
||
// provide / inject | ||
provide, | ||
inject, | ||
|
||
// lifecycle | ||
onBeforeMount, | ||
onMounted, | ||
onBeforeUpdate, | ||
onUpdated, | ||
onBeforeUnmount, | ||
onUnmounted, | ||
onErrorCaptured, | ||
onActivated, | ||
onDeactivated, | ||
onServerPrefetch, | ||
onRenderTracked, | ||
onRenderTriggered, | ||
|
||
// v2 only | ||
set, | ||
del, | ||
|
||
// v3 compat | ||
h, | ||
getCurrentInstance, | ||
useSlots, | ||
useAttrs, | ||
mergeDefaults, | ||
nextTick, | ||
useCssModule, | ||
useCssVars, | ||
defineComponent, | ||
defineAsyncComponent | ||
} = Vue |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.