IDEA 新建.vue格式的文件
前提:idea已经安装好了Vue.js插件
即:

1.command+,

2.

<template>
<div>
{{msg}}
</div>
</template>
<style>
body {
background-color: #ff0000;
}
</style>
<script>
export default{
data () {
return {msg: '这个是Home模板页'}
}
}
</script>
3.



浙公网安备 33010602011771号