vulncost icon indicating copy to clipboard operation
vulncost copied to clipboard

Not working in .vue files

Open LeoMartinDev opened this issue 4 years ago • 2 comments

The extension does not seem to be working with .vue files.

LeoMartinDev avatar Aug 19 '20 12:08 LeoMartinDev

That seems to be correct. Can you provide an example of a vue file as I am not familiar with it. TY

bmvermeer avatar Sep 29 '20 12:09 bmvermeer

You can learn more about vue single-file components (.vue files) here https://vuejs.org/v2/guide/single-file-components.html

A basic example :

<template>
  <h2>Hello, {{ personName }}!</h2>
</template>
<script>
export default {
  data: () => {
    personName: 'Léo',
  },
}
</script>
<style scoped>
  h2 {
    font-size: 40px;
    color: black;
  }
</style>

LeoMartinDev avatar Oct 03 '20 11:10 LeoMartinDev