Skip to content

Instantly share code, notes, and snippets.

@hectorlorenzo
Last active August 3, 2016 09:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hectorlorenzo/defab7bb687d33e9c4911e67594df49e to your computer and use it in GitHub Desktop.
Save hectorlorenzo/defab7bb687d33e9c4911e67594df49e to your computer and use it in GitHub Desktop.
Vue.js Instance 1:1
function Vue (options) {
this._init(options)
}
// install internals
initMixin(Vue)
stateMixin(Vue)
eventsMixin(Vue)
lifecycleMixin(Vue)
miscMixin(Vue)
// install instance APIs
dataAPI(Vue)
domAPI(Vue)
eventsAPI(Vue)
lifecycleAPI(Vue)
export default Vue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment