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

Absolute imports #30

Open
webdiego opened this issue Feb 28, 2023 · 3 comments
Open

Absolute imports #30

webdiego opened this issue Feb 28, 2023 · 3 comments

Comments

@webdiego
Copy link

Hey people,
the extension looks very nice!
I had just a problem...I cannot fully use it because, in most of my projects, I use absolute imports ("@/..."), and like this, I am not able to use it

@MichaelBenliyan
Copy link
Contributor

Hey Diego!
Thank you for bringing this to our attention. Another user pointed this out as well and this is definitely something we hope to support. I cannot give you a timetable on this addition, however, I can update this thread once absolute imports are supported. Thanks again for such a good suggestion.
Best

@webdiego
Copy link
Author

Thank you for your effort; super nice idea! :)

@dcjones1
Copy link

dcjones1 commented Mar 2, 2023

Following along, I have a similar issue using absolute imports with a base URL set in tsconfig. The base URL is './src' so an import from 'src/components/Button.tsx' will be 'components/Button.tsx'. Otherwise, the extension is awesome, thanks for your efforts!

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

3 participants