vue-cli 3 is not a modual err <srcipt> </srcipt> don't empty normal write <srcipt> export default {}; </script>