I'm adding a JS file to Html yet I'm getting a syntax error "Uncaught SyntaxError: Unexpected identifier"
<script src="./includes/vuetags/main.js" ></script>
JS file (main.js) - the error is traced by chrome to line 1
import VoerroTagsInput from './VoerroTagsInput.vue';
window.VoerroTagsInput = VoerroTagsInput;
export default VoerroTagsInput
Any ideas why it tells me I have an error?
Ended up finding that this action requires running Vuejs CLI (https://v2.vuejs.org/v2/guide/single-file-components.html)