IDEA 新建.vue格式的文件
1.Ctrl+Alt+S2.<template><div>{{msg}}</div></template><style>body {background-color: #ff0000;}</style><script>export ...
·
1.Ctrl+Alt+S
2.
<template>
<div>
{{msg}}
</div>
</template>
<style>
body {
background-color: #ff0000;
}
</style>
<script>
export default{
data () {
return {msg: '这个是Home模板页'}
}
}
</script>
3.
更多推荐
已为社区贡献8条内容
所有评论(0)