mirror of
https://github.com/FoggedLens/deflock.git
synced 2026-02-12 23:12:48 +00:00
* webapp/map: add OpenStreetMap attribution to Leaflet slippy map Add attribution to the slippy map, formatted as shown in the VueJS Leaflet docs: https://vue2-leaflet.netlify.app/quickstart/ The [ODbL](https://opendatacommons.org/licenses/odbl/1-0/) requires attribution to be included alongside the map, stated in clause 4.3: > You must include a notice associated with the Produced Work reasonably > calculated to make any Person that uses, views, accesses, interacts with, or > is otherwise exposed to the Produced Work aware that Content was obtained > from the Database, Derivative Database, or the Database as part of a > Collective Database, and that it is available under this License. See also https://wiki.openstreetmap.org/wiki/Community_attribution_advice Signed-off-by: Galen CC <galen8183@gmail.com> * webapp/map: inline OpenStreetMap attribution Signed-off-by: Galen CC <galen8183@gmail.com> --------- Signed-off-by: Galen CC <galen8183@gmail.com>
deflock
This template should help get you started developing with Vue 3 in Vite.
Recommended IDE Setup
VSCode + Volar (and disable Vetur).
Type Support for .vue Imports in TS
TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Volar to make the TypeScript language service aware of .vue types.
Customize configuration
See Vite Configuration Reference.
Project Setup
npm install
Compile and Hot-Reload for Development
npm run dev
Type-Check, Compile and Minify for Production
npm run build