@lassehaslev/vue-geocoder

Coordinates input using Vue

Usage no npm install needed!

<script type="module">
  import lassehaslevVueGeocoder from 'https://cdn.skypack.dev/@lassehaslev/vue-geocoder';
</script>

README

@lassehaslev/vue-geocoder

Coordinates input using Vue

Install

# Install dependencies
npm install @lassehaslev/vue-geocoder

Usage

Register component in javascript

const Geocoder = require( '@lassehaslev/vue-geocoder' );
Vue.component( 'geocoder', Geocoder );

Now your component is ready for usage

<geocoder @selected="" api-key="" limit-to-country=""></geocoder>

Development

# install dependencies
npm install

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

# build for production with minification
npm run build

For detailed explanation on how things work, consult the docs for vue-loader.