VS Code Path Trick w/ JavaScript #Shorts

19 Views
Fireship
0
Published on 25 Oct 2021 / In Education

Use path mapping to avoid fumbling over long relative module imports in your JavaScript code. Just create a JSconfig.json file in VS Code, or use an existing TSconfig.

#webdev #js #shorts

See it in action in the full Next.js Course source code https://fireship.io/courses/react-next-firebase/
Official VS Code docs https://code.visualstudio.com/....docs/languages/jscon

Show more
0 Comments sort Sort By