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

create-react-app template for @mapcomponents/react-maplibre

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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!

About

create-react-app template for @mapcomponents/react-maplibre


Languages

Language:JavaScript 43.2%Language:HTML 37.0%Language:CSS 14.7%Language:Dockerfile 5.1%