Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

brandonxiang/vue-leaflet-mobile

Repository files navigation

vue-leaflet-mobile

A vue mobile webapp for leaflet.js which is produced by vue, vuex, vueleaflet, vux and vue-router. The project is built by vux-cli.

Development

npm run dev

build

npn run build

Screen Shot

Screen

DEMO

DEMO

PC DEMO

Phone DEMO

Chinese Doc

CN_DOC

TODO

  • font size depends on window size
  • ajax for city data
  • localstorage
  • vue meta
  • vuex router sync

LICENSE

MIT

Wechat Offical Code

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.