MCPcopy Create free account
hub / github.com/ygs-code/vue / Vue

Function Vue

vue.js:6942–6948  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

6940
6941 //vue 构造函数
6942 function Vue(options) {
6943 if ("development" !== 'production' && !(this instanceof Vue)
6944 ) {
6945 warn('Vue is a constructor and should be called with the `new` keyword');
6946 }
6947 this._init(options);
6948 }
6949
6950 initMixin(Vue); //初始化vue
6951 stateMixin(Vue); //数据绑定,$watch方法

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected