[go: nahoru, domu]

Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vue3 SSR Support (commonjs) #98

Open
chemeng opened this issue Feb 27, 2022 · 1 comment
Open

Vue3 SSR Support (commonjs) #98

chemeng opened this issue Feb 27, 2022 · 1 comment

Comments

@chemeng
Copy link
chemeng commented Feb 27, 2022

Hi, first of all thank you for the great package, works beautifully! I got 2 questions:

  1. Is there a way to import the component within another component and not in the main file? (so avoiding the app.use syntax)
  2. 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.
@aentwist
Copy link
aentwist commented Mar 22, 2022
  1. 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants