Import vue in a erpnext page

These learnings may shed light on your case - of course the SyntaxError points to an environment issue: