At the moment, we utilizes Vite aliases to help link our modules/components with the "@" symbol (i.e. @hooks for ./src/hooks). However, Intellisense doesn't seem to be picking up the correcting paths to these files. To fix this, I've coded up a jsconfig.json file in the project root to resolve this problem.
This PR:
1. Allows Intellisense to pick up the pathing to Vite aliases
The files this PR effects:
All files that utilizes Vite aliases as a shortcut to components/modules/etc.
Fix Vite alias pathing for Intellisense
At the moment, we utilizes Vite aliases to help link our modules/components with the "@" symbol (i.e.
@hooks
for./src/hooks
). However, Intellisense doesn't seem to be picking up the correcting paths to these files. To fix this, I've coded up ajsconfig.json
file in the project root to resolve this problem.This PR:
1. Allows Intellisense to pick up the pathing to Vite aliases
The files this PR effects:
All files that utilizes Vite aliases as a shortcut to components/modules/etc.
Other Files
./jsconfig.json
Screenshots (if applicable):
Without jsconfig.json and Intellisense support:
With jsconfig.json and Intellisense support: