I am searching for a way when creating new Vue.js files to pass automatically the name attribute.
For example, when I create a new Vue file with name Test.vue
, to generate this automatically:
<template></template>
<script>
export default {
name: 'Test',
};
</script>
<style></style>
To add the name attribute based on the file name creation. Is there any automated way in order to stop adding this manually every time I create Vue file?
Thanks!