Vue renderless component to use Geolocation API
npm install vue-component-geolocationInstallation
------
``javascript`
import Geolocation from 'vue-component-geolocation'
Usage
------
This component is renderless so it doesn't impose any decisions about design or layout. You are free to use it as you wish.
vue
`
$3
`vue
{{error.code}}: {{error.message}}
{{currentLocation.coords.latitude}}: {{currentLocation.coords.longitude}}
``Usage
------
Sources:
* https://adamwathan.me/renderless-components-in-vuejs/
* https://vuejs.org/v2/guide/components-slots.html#Scoped-Slots