最近使用webstorm開發vuejs項目的時候經常出現卡頓的現象,感覺還是sublime text3比較輕巧便捷,但是使用sublime text3需要安裝一些插件~
1. 讓vue文件高亮:
安裝Package Control
執行Install Package
安裝Vue Syntax Highlight
2.讓script里面的es6代碼高亮:
安裝ecmascript syntax 安裝vuejs complete package
vue文件里面寫成:<script type='text/ecmascript-6'></script>
3.讓style標簽支持stylus高亮:
安裝stylus
vue文件里面寫成:<style lang='stylus'></style>