如何在 Atom 中为 .vue 文件启用语法高亮? [英] How can I enable syntax highlighting for .vue files in Atom?

查看:42
本文介绍了如何在 Atom 中为 .vue 文件启用语法高亮?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我开始使用 Vue.js.我遇到的第一个问题是我的 IDE (Atom) 没有美化我的 .vue 文件.都是白字.

I'm starting up with Vue.js. The first problem I've run into is that my IDE (Atom) doesn't beautify my .vue files. It's all just white text.

如何让 Atom 正确突出显示 .vue 文件?

How can I make Atom highlight .vue files properly?

推荐答案

language-vue 包为 Vue 组件添加语法高亮.

language-vue package adds syntax highlighting to Vue components.

还有另一个包可以美化你的代码.安装 atom-beautify 包.它预装了 Vue 美化器.

There is also another package to beautify your code. Install atom-beautify package. It has Vue beautifier preinstalled.

这篇关于如何在 Atom 中为 .vue 文件启用语法高亮?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆