vue单文件组件的格式规范
<template></template><script>export default {name: '',mixins: [],components: {},props:
·
<template>
</template>
<script>
export default {
name: '',
mixins: [],
components: {},
props: {},
data () {
return {}
},
computed: {},
watch: {},
created () {},
mounted () {},
destroyed () {},
methods: {}
}
</script>
<style scoped>
</style>
更多推荐
已为社区贡献8条内容
所有评论(0)