Subwaytime / vite-aliases

Alias auto generation for Vite
https://www.npmjs.com/package/vite-aliases
MIT License
213 stars 13 forks source link

How to make Vscode aware of aliases? #57

Closed harryqt closed 1 year ago

harryqt commented 1 year ago

So, vscode can open the file when click?

Subwaytime commented 1 year ago

To make VSCode understand your path aliases its recommended to enable the useConfig option, either with typescript or with javascript alone. This option will be true on default next version, as well as the automatic typescript detection. (checkout the README, for more information)