I am using vue.js v2, I like to separate my JS from my template.
<template>
</template>
<script src="./script.js">
</script>
Having JS code inside this script tag has some advantages to type checking and suggesting, which I don’t have in an external JS file.
I have this comment which helps a little bit, but not in suggesting part.
// @vue/component
export default {
...
}
Is There anything that I can do to have that auto suggesting?