yaskevich / mid

Map

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mid

Map

Deployment

This is a regular Vue3 application. The bundler is Vite.

Node.js must be installed to build the app.

Environment variables are required:

Variable Function
VITE_API External API root endpoint
VITE_TITLE Application title (browser tab title)
VITE_BASE Base path for Vite (URL or relative path to the deployed distributive)
VITE_MAP_INFO The credits displayed on a map
VITE_MAPBOX_KEY Mapbox API key
VITE_MAPBOX_MAP Mapbox map in a form username/ID, e.g. mapbox/satellite-streets-v11
VITE_PORT HTTP-port for Vite server (for development purposes only). Default one is 8080

After .env file is provided, run:

  • npm install
  • npm run build

About

Map


Languages

Language:Vue 88.3%Language:TypeScript 8.4%Language:HTML 3.3%