fuzinato/vscode-vue-peek

Can you support js file

Closed this issue · 2 comments

I like this excellent extension but if you can also support js file in the .vue file.That is Wonderful.

Hi kinanson,
there are 2 settings options that allows you to customize targeted files and language in which the plugin is activated. By default they look like this:

  "vue-peek.supportedLanguages": [
    "vue"
  ],
 "vue-peek.targetFileExtensions": [
    ".vue",
  ]

You can add support for any file extension you like. Go to settings, search for vue-peek and add .js extension to targetFileExtensions option. This way the plugin will also search .js files.
I hope this answers your question.

You are right.thanks