/vite-template

Just a quick starter for ViteJS, React and TS šŸ›µšŸ›µšŸ›µ

Primary LanguageTypeScript

new project

this is a project template for react x viteJS:

  • ViteJS
  • reactJS
    • chakra-ui
    • react-router-dom
    • zustand
  • Typescript
  • ESLint

vite aliases

we use aliases for importing modules which turns this:

import Test from ../../../../components/Test

into this

import { Test } from @components

šŸ¤“

"paths": {
    "@components/*": ["./components/*"],
    "@components": ["./components"],
    "@routes/*": ["./routes/*"],
    "@types": ["./types"],
    "@store": ["./store"],
    "@theme": ["./theme"],
    "@theme/*": ["./theme/*"]
}