Closed ricardasjak closed 11 months ago
Thanks for sharing. We're very intentional about this import config. Hopefully someone can find out a good way to handle this standard with Webstorm.
I don't plan on making a change here, so we'll close this.
Hello, I am very new to Remix stack, so don't take my suggestion too seriously. However, I ran into various problems using WebStorm IDE. I was unable to auto fix missing imports with WebStorm:
#node_modules/...
instead of '@remix-run/node' (same with other libs)import { StatusButton } from '@/app/components/ui/status-button.js'
js(!) instead of...tsx
I have solved my issues when I converted absolute path imports to Nextjs convention with
@/
(I bet WS has better compatibility with Nextjs conventions, rather than # thingie). I also had to import special library to share tsconfig with vitest, so I could removeimports
section inpackage.json
.Here are main changes:
Pardon me, I am not opening PR with following improvements, I don't think I have enough experience to understand how this project is evolving.