How to install google maps through npm?
问题 Is there any package available on npm for google maps? Or am I really supposed to paste this <script src="https://maps.googleapis.com/maps/api/jskey=YOUR_API_KEY"> </script> to my index.html and download this js file on every refresh? This is super annoying, because sometimes I get ReferenceError: google is not defined . 回答1: Or am I really supposed to paste this to my index.html and download this js file on every refresh? Yes . This is the only way to do so. There are some packages to