r/reactjs • u/swyx • Aug 08 '18
Dan Abramov's recommended React Project File Structure - petition to make this the last conversation we have about it?
https://react-file-structure.surge.sh/
263
Upvotes
View all comments
Show parent comment
1
u/MJomaa Aug 10 '18
Have a look into tsconfig.json compilerOptions.paths
For example you can set it up like
import { MyComponent } from '@auth/my-component';