inocan-group / vue3-google-map

A set of composable components for easy use of Google Maps in your Vue 3 projects.
https://vue3-google-map.com
MIT License
272 stars 54 forks source link

@types/vue3-google-map availability #98

Closed alessandrorubio closed 1 year ago

alessandrorubio commented 1 year ago

Currently no component is being found using typescript and composition API. For instance this is my code:

...
<script setup lang="ts">
  <GoogleMap api-key="YOUR_GOOGLE_MAPS_API_KEY">
  </GoogleMap>
</script>
...

Is this package usable for vue components using typescript?

HusamElbashir commented 1 year ago

Hi @alessandrorubio

Yes it should be usable with typescript. If you're having issues make sure to include @types/google.maps in your devDependencies.