Mapcomponents Template
An easy way to create a Mapcomponents Maplibre Map-app!
Getting started
- Run
npx create-react-app {myAppName} --template @mapcomponents/cra-template
-
cd
into your project - Install all dependencies
yarn
- 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}