/ts-vite-env

The demo of TypeScript env build with vite

  1. npm init
  2. npm i vite -d
  3. update package.json add script vite
  4. tsc --init
  5. update tsconfig.json config (rootDir and outDir)
  6. create html
  7. npm run dev (execute vite)