nav tabs on admin dashboard
This commit is contained in:
7
node_modules/vue/src/core/global-api/index.js
generated
vendored
7
node_modules/vue/src/core/global-api/index.js
generated
vendored
@@ -8,6 +8,7 @@ import { initAssetRegisters } from './assets'
|
||||
import { set, del } from '../observer/index'
|
||||
import { ASSET_TYPES } from 'shared/constants'
|
||||
import builtInComponents from '../components/index'
|
||||
import { observe } from 'core/observer/index'
|
||||
|
||||
import {
|
||||
warn,
|
||||
@@ -44,6 +45,12 @@ export function initGlobalAPI (Vue: GlobalAPI) {
|
||||
Vue.delete = del
|
||||
Vue.nextTick = nextTick
|
||||
|
||||
// 2.6 explicit observable API
|
||||
Vue.observable = <T>(obj: T): T => {
|
||||
observe(obj)
|
||||
return obj
|
||||
}
|
||||
|
||||
Vue.options = Object.create(null)
|
||||
ASSET_TYPES.forEach(type => {
|
||||
Vue.options[type + 's'] = Object.create(null)
|
||||
|
||||
Reference in New Issue
Block a user