Last active
March 9, 2017 19:08
-
-
Save neves/341deed7be47f1df0781561264750b98 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var app = new Vue({ | |
el: '#app', // https://vuejs.org/v2/api/#el | |
template: '', // https://vuejs.org/v2/api/#template | |
render (h) {}, // https://vuejs.org/v2/api/#render | |
data: {}, // https://vuejs.org/v2/api/#data | |
computed: { // https://vuejs.org/v2/api/#computed | |
fullName: { | |
get () {}, | |
set (value) {} // https://vuejs.org/v2/guide/computed.html#Computed-Setter | |
} | |
}, | |
methods: {}, // https://vuejs.org/v2/api/#methods | |
watch: { // https://vuejs.org/v2/api/#watch | |
fullName: { | |
deep: true, // https://vuejs.org/v2/api/#vm-watch | |
handler () {} | |
} | |
}, | |
directives: {}, // https://vuejs.org/v2/guide/custom-directive.html | |
filters: {}, | |
components: {}, | |
mixins: [], // https://vuejs.org/v2/api/#mixins | |
// https://vuejs.org/guide/instance.html#Lifecycle-Diagram | |
beforeCreate () {}, | |
created () {}, | |
beforeMount () {}, | |
mounted () { | |
// https://vuejs.org/v2/api/#Instance-Properties | |
}, | |
beforeUpdate () {}, | |
updated () {}, | |
activated () {}, // https://vuejs.org/v2/api/#activated | |
deactivated () {}, // https://vuejs.org/v2/api/#deactivated | |
beforeDestroy () {}, | |
destroyed () {}, | |
}) | |
Vue.component('my-component', { | |
name: '', // https://vuejs.org/v2/api/#name | |
extends: '', // https://vuejs.org/v2/api/#extends | |
props: [], // https://vuejs.org/v2/api/#props | |
propsData: {}, // https://vuejs.org/v2/api/#propsData | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
vuejs/vue#2873