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

Nuxt2 support #9

Open
prashantpalikhe opened this issue Oct 13, 2022 · 3 comments
Open

Nuxt2 support #9

prashantpalikhe opened this issue Oct 13, 2022 · 3 comments

Comments

@prashantpalikhe
Copy link
Owner

The module currently only supports Nuxt3 but it definitely can support Nuxt2. Add support for Nuxt2 as well.

@steveworkman
Copy link
Collaborator

steveworkman commented Oct 19, 2022

A rough task list:

  • Module installation code modified so equivalent APIs for Nuxt 2 are used
  • Vue 2 version of the wrapper components are available to be used. Probably needs some refactoring of the render logic to extract it out
  • Vite plugin needs an equivalent webpack plugin
  • Nuxt 2 versions of the shim plugins need to be created
  • Nuxt 2 playground app for testing

@steveworkman
Copy link
Collaborator

We closed the Nuxt 2 PR as there were significant changes coming to Lit in SSRv3 that were needed. Even with this change, I'm not confident that SSR is possible in Nuxt 2.

What can do is use the library to support CSR - use the module to supply necessary shims etc.

@gregpalaci
Copy link

would this maybe work with nuxt-bridge?

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

Successfully merging a pull request may close this issue.

3 participants