Skip to content

Implementing path alias in Node.js, Vite + React + typescript

Notifications You must be signed in to change notification settings

Sourav-KK/path-alias-react-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Relative paths are ways to use files from other folders. But as the project scales up, these imports will look messy especially if the components are deeply nested.

eg: import Header from "../../../../../Coponent/Header.tsx" Alternative: import Header from "@Component/Header.tsx "

This repository explain how to make Path aliases with TypeScript in Node.js(express) & React(Vite)

About

Implementing path alias in Node.js, Vite + React + typescript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published