Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to color code .vue file?

New Here ,
Jan 25, 2019 Jan 25, 2019

Hello. My .Vue files are displaying as all white. I would like them to have the same color coding as my .html files. Please advise as to how i can get .vue files to have code coloring.

1.6K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Jan 25, 2019 Jan 25, 2019

In the bottom right of the window, choose the type of file you'd like DW to treat it as.

For example, HTML...

...and that should change the code coloring to match. Keep in mind though, if the code isn't valid html, php, etc the code coloring will likely end up looking wrong.

Translate
Community Expert ,
Jan 25, 2019 Jan 25, 2019

In the bottom right of the window, choose the type of file you'd like DW to treat it as.

For example, HTML...

...and that should change the code coloring to match. Keep in mind though, if the code isn't valid html, php, etc the code coloring will likely end up looking wrong.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jan 25, 2019 Jan 25, 2019
LATEST

Perfect! Thank you.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines