BlueMap

BlueMap

85.1k Downloads

Add a web app manifest.json

ALiangLiang opened this issue ยท 2 comments

commented

Is your feature request related to a problem? Please describe.

Add Web App manifest.json to allow users to "install" it.

Describe the solution you'd like

I want my players open bluemap by click it on taskbar or desktop.

Ref: https://developer.mozilla.org/en-US/docs/Web/Manifest

commented

Implemented in 3.4

commented

There's a PWA plugin for Vue CLI that generates a manifest.json automatically. It also generates a service worker, which might be a bit overkill (considering the map can't be used offline anyways).

Maybe the webpack plugin webpack-pwa-manifest is all that's needed (haven't tried the plugin yet).

@ALiangLiang Note that in Microsoft Edge (and afaik Google Chrome as well) you can "install" any website as an app (even if it doesn't specify a manifest) by clicking on the hamburger menu in the browser and then select "Apps" => "Install this site as an app".