助力软件开发企业降本增效 PHP / java源码系统,只需一次付费,代码终身使用! 广告
## 一、概述 Vetur是VSCode下强大的Vue开发工具; ## 二、安装 ![](https://img.kancloud.cn/a7/c5/a7c52966e280868f81ab188677d7e622_1920x1030.png) ## 三、说明 Vetur内嵌了如下格式化工具, 如果本地安装了相应版本, 则会使用本地安装的版本, 默认配置如图: * `prettier`: For css/scss/less/js/ts. * `prettier`: For pug. * `prettier-eslint` : For js. 运行`prettier` 和`eslint --fix`. * `stylus-supremacy` : For stylus. * `vscode-typescript`: 针对 js/ts. 与VS Code自带的的 js/ts formatter相同 * `sass-formatter`: For the .sass section of the files. * `prettyhtml` \[已被弃用\] For html. 虽然Vetur已内置上述格式化器,但是当Vetur检测到本地已经安装对应的格式化器时,会优先使用本地安装的格式化器;