vue-google-maps
vue-google-maps copied to clipboard
Vue3 SSR Support (commonjs)
Hi, first of all thank you for the great package, works beautifully! I got 2 questions:
- Is there a way to import the component within another component and not in the main file? (so avoiding the app.use syntax)
- Is it possible to use commonjs syntax so that it's more SSR friendly? I'm currently getting a lot of
import
errors when trying to use it with node.
- Is there a way to import the component within another component and not in the main file? (so avoiding the app.use syntax)
This is a good question and is to ask, is tree shaking supported?
It looks like it is there. This needs commented on, it might just be a matter of adding documentation. Google Maps might need to be loaded manually? Which is quite unfortunate if so, but whatever works for now since this project needs contributors.