mtsatellite/cmd/mtwebmapper/client
2022-03-03 17:47:58 +01:00
..
public Use app title as tab title. 2022-03-03 16:29:46 +01:00
src Avoid not needed scrollbar. 2022-03-03 17:47:58 +01:00
.env Added .env file for web map client. 2022-03-03 15:33:43 +01:00
.gitignore Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00
babel.config.js Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00
jsconfig.json Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00
package.json Changed web map client name. 2022-03-03 16:04:15 +01:00
README.md Updated README and README of web map client. 2022-03-03 15:28:53 +01:00
vue.config.js Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00
yarn.lock Switched to vue-leaflet implementation for web client. 2022-03-02 15:00:25 +01:00

Minetest Web-Map-Client

The web map client for mtsatellite is build as vue app using vuetify and leaflet as frameworks. The following commands are all you need to set this application up.

Project setup

yarn install

Compiles and hot-reloads for development

yarn serve

Compiles and minifies for production

yarn build

The result of this command is a dist folder containing the minified version. To use this in production, copy or move the folder to the location of your choice to serve the app.

Lints and fixes files

yarn lint

Customize configuration

To configure the backend websocket URL and the app title adjust the entries in the .env file.

See Configuration Reference.