Skip to content

Instantly share code, notes, and snippets.

@outiy5
Last active March 28, 2020 07:21
Show Gist options
  • Save outiy5/f0241ccc3da0e9021e8cd76f23d61115 to your computer and use it in GitHub Desktop.
Save outiy5/f0241ccc3da0e9021e8cd76f23d61115 to your computer and use it in GitHub Desktop.
[vue script template] 一个vue script中可以做哪些事情? #vue #quasar
export default {
name: 'PageForum',
data() {
return {
}
},
mounted() {
// write initial code here when DOM is loaded
},
created() {
// write initial code here before DOM loaded
},
methods: {
},
watch: {
},
beforeRouterEnter() {
},
beforeRouterUpdate() {
},
beforeRouterLeave() {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment