mirror of https://github.com/vuejs/vitepress
parent
42f7ee2f12
commit
36bde803c8
@ -1,34 +0,0 @@
|
|||||||
/**
|
|
||||||
* vue-demi v0.14.7
|
|
||||||
* Copyright (c) 2020-present, Anthony Fu
|
|
||||||
* @license MIT
|
|
||||||
*/
|
|
||||||
|
|
||||||
import * as Vue from 'vue'
|
|
||||||
|
|
||||||
var isVue2 = false
|
|
||||||
var isVue3 = true
|
|
||||||
var Vue2 = undefined
|
|
||||||
|
|
||||||
function install() {}
|
|
||||||
|
|
||||||
export function set(target, key, val) {
|
|
||||||
if (Array.isArray(target)) {
|
|
||||||
target.length = Math.max(target.length, key)
|
|
||||||
target.splice(key, 1, val)
|
|
||||||
return val
|
|
||||||
}
|
|
||||||
target[key] = val
|
|
||||||
return val
|
|
||||||
}
|
|
||||||
|
|
||||||
export function del(target, key) {
|
|
||||||
if (Array.isArray(target)) {
|
|
||||||
target.splice(key, 1)
|
|
||||||
return
|
|
||||||
}
|
|
||||||
delete target[key]
|
|
||||||
}
|
|
||||||
|
|
||||||
export * from 'vue'
|
|
||||||
export { Vue, Vue2, isVue2, isVue3, install }
|
|
File diff suppressed because it is too large
Load Diff
@ -1,3 +1,3 @@
|
|||||||
export * from './shared.js'
|
|
||||||
export * from '../dist/client/index.js'
|
export * from '../dist/client/index.js'
|
||||||
export * from '../dist/node/index.js'
|
export * from '../dist/node/index.js'
|
||||||
|
export * from './shared.js'
|
||||||
|
Loading…
Reference in new issue