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

Transform components imported by explicit import #27114

Open
3 of 4 tasks
huang-julien opened this issue May 8, 2024 · 0 comments
Open
3 of 4 tasks

Transform components imported by explicit import #27114

huang-julien opened this issue May 8, 2024 · 0 comments

Comments

@huang-julien
Copy link
Member

huang-julien commented May 8, 2024

Describe the feature

Currently it is not possible to have a server only component or client only component when importing them explicitly (such as import Client from '@/Client.client.vue' or import ServerComp from "../../ServerComp.server.vue".
Transforming them when explicitly imported makes more sense

This is a feature/fix that could possibly break some apps so it may be better to have it in nuxt 4.

Additional information

  • Would you be willing to help implement this feature?
  • Could this feature be implemented as a module?

Final checks

@nuxtbot nuxtbot changed the title Transform component imported by explicit import ".zh Transform component imported by explicit import" May 8, 2024
@huang-julien huang-julien changed the title ".zh Transform component imported by explicit import" Transform component imported by explicit import May 8, 2024
@huang-julien huang-julien changed the title Transform component imported by explicit import Transform components imported by explicit import May 8, 2024
@huang-julien huang-julien self-assigned this May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants