text: import { initMixin } from "./init"
  import { stateMixin } from "./state"
  import { renderMixin } from "./render"
  import { eventsMixin } from "./events"
  import { lifecycleMixin } from "./lifecycle"
  import { warn } from "../util/index"
  
  function Vue(options) {
    if (process.env.NODE_ENV !== "production" && !(this instanceof Vue)) {
      warn("Vue is a constructor and should be called with the `new` keyword")
    }
    // this 指向构造函数Vue生成的实例对象
    this._init(options)
  }
  
  initMixin(Vue)
  stateMixin(Vue)
  eventsMixin(Vue)
  lifecycleMixin(Vue)
  renderMixin(Vue)
  
  export default Vue
  