在js文件中編輯html代碼時,編輯器(VScode)不會提示,不能自動補全,所有的標簽以及標簽的屬性都要手動敲很是麻煩,想問問各位是怎么決解這個問題的。比如說在用vue的組件時在模板里編寫html標簽都要手動填寫 component:{ template:` <div>
<h1>Post</h1>
<router-link to="/post/rain" >more</router-link>
<router-view ></router-view>
</div>
`,
}
在js文件中編寫html代碼,編輯器為什么不提示html標簽。
慕哥9229398
2018-07-23 21:37:55