npm安裝pug,記住不是pug-loader,也不用配置vue-loader,只需在template標籤中指定lang=pug,就可以愉快的使用pug語法了,比起html看起來簡潔多了。
確定! 回上一頁