Skip to content

mapcomponents/react-map-components-maplibre-cra-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mapcomponents Template

An easy way to create a Mapcomponents Maplibre Map-app!

Getting started

  1. Run npx create-react-app {myAppName} --template @mapcomponents/cra-template
  2. cd into your project
  3. Install all dependencies yarn
  4. Start the development server yarn start

Create a build

Creates an nginx container image that serves an optimized production build

docker build .

Start the image serving on host port 80

docker run -p 80:80 {image_hash}

Happy Coding!