VS Code Path Trick w/ JavaScript #Shorts
Fireship
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 ... https://www.youtube.com/watch?v=WpgZKBtW_t8
2022-01-11
0.0 LBC
Copyrighted (contact publisher)
1301634 Bytes