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/jsconfig
#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/jsconfig
- Category
- Fireship
- Tags
- tutorial, learn, learn to code

Be the first to comment