1、安装vue插件,方法

   Setting->Plugins,点击Plugins,在右边输入vue,找到相应插件,然后安装

   vue系列之webstrom的设置

   

2、创建vue模板

vue系列之webstrom的设置

注意红圈里面的

3、设置vue文件支持的样式

vue系列之webstrom的设置

 

注意:这个设置后没效果,是因为2里面的reformat according to style没有取消掉

4、vue用的是es6的语法,所以要把javascript的版本改为es6

vue系列之webstrom的设置

 

相关文章:

  • 2022-12-23
  • 2021-11-01
  • 2021-06-03
  • 2022-01-16
  • 2022-12-23
  • 2021-09-27
  • 2021-06-18
  • 2021-03-28
猜你喜欢
  • 2021-04-25
  • 2022-12-23
  • 2022-01-08
  • 2022-12-23
  • 2022-12-23
  • 2021-06-12
相关资源
相似解决方案