VueLayers (VueLayers)
Vue 2 components to work with OpenLayers.
Vue 2组件可与OpenLayers一起使用。
安装 (Install)
# install Vue and VueLayers
npm install -S vue vuelayers
构建设置 (Build Setup)
NOTE: Node v6+ is required.
注意 :需要节点v6 + 。
git clone --recursive -j8 https://github.com/ghettovoice/vuelayers.git
cd vuelayers
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm start
# build for production
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
翻译自: https://vuejsexamples.com/vue-components-to-work-with-openlayers/