How to resolve alias file paths with Vitejs | Never use relative paths again | No more ../../

Published: 05 May 2022
on channel: Richard Oliver Bray
16,770
286

It's always annoying when you have to trace where a file is by looking at paths, type in multiple ../../../ and then find out you're wrong. Well, you don't ever need to have that issue again if you're using a module bundler like Vitejs.
---

☕️ Buy me a Coffee ► https://ko-fi.com/richardoliverbray
🐦 Follow me on Twitter ►   / ceiga  

---
Vitejs reaolve.alias documentation ► https://vitejs.dev/config/#resolve-alias

#typescript #vite #react #webdevelopment #vitejs


Watch video How to resolve alias file paths with Vitejs | Never use relative paths again | No more ../../ online without registration, duration hours minute second in high quality. This video was added by user Richard Oliver Bray 05 May 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 16,770 once and liked it 286 people.