Uses Webpackarrow-up-right to bundle files and serves it with webpack-dev-serverarrow-up-right.
To run this example, you need a Google Maps API keyarrow-up-right. You can either set an environment variable:
Or set the GOOGLE_MAPS_API_KEY variable in app.js.
GOOGLE_MAPS_API_KEY
app.js
To install dependencies:
Commands:
npm start is the development target, to serve the app and hot reload.
npm start
npm run build is the production target, to create the final bundle and write to disk.
npm run build
Last updated 4 years ago
export GoogleMapsAPIKey=<google_maps_api_key>
npm install # or yarn