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

Using an import path from jsconfig.json (e.g. @h2 in the sample store) causes component annotation troubles #5734

Closed
gbalint opened this issue May 23, 2024 · 0 comments · Fixed by #5781
Assignees

Comments

@gbalint
Copy link
Contributor

gbalint commented May 23, 2024

If you annotate a component with the full module path as module name (e.g. /app/components/hydrogen/new/Layout), then if it is imported using the short path (e.g. @h2/new/Layout), the component will not be recognized and connected to the annotation.

If you annotate it with @h2/new/Layout , then the variants will not appear in the insert menu (and it will not be recognized when you select a component using the full import path).

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

Successfully merging a pull request may close this issue.

3 participants