Created
September 17, 2019 15:03
-
-
Save jtfl2008/2d80325bc4363a6edd563c2c93d38409 to your computer and use it in GitHub Desktop.
vue模板
This file contains 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
{ | |
"Print to console": { | |
"prefix": "vTpl", | |
"body": [ | |
"<template>", | |
" <div>$0</div>", | |
"</template>", | |
"", | |
"<script>", | |
"export default {", | |
" name: '',", | |
" components: {},", | |
" directives: {},", | |
" filters: {},", | |
" mixins: {},", | |
" props: {", | |
" propName: {", | |
" type: number,", | |
" default: 0", | |
" }", | |
" },", | |
" data () {", | |
" return {", | |
" key: value", | |
" }", | |
" },", | |
" computed: {},", | |
" watch: {},", | |
" beforeCreate(){},", | |
" created(){},", | |
" beforeMount(){},", | |
" mounted(){},", | |
" beforeUpdate(){},", | |
" updated(){},", | |
" activated(){},", | |
" deactivated(){},", | |
" beforeDestroy(){},", | |
" destroyed(){},", | |
" methods: {}", | |
"}", | |
"</script>", | |
"<style scoped>", | |
"</style>" | |
], | |
"description": "Log output to console" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment