Add Typescript to Vite template
balazstasi opened this issue · 0 comments
balazstasi commented
Steps
- Renaming everything from .js to .ts
- Adding tsconfig.json
- Adding tsconfig.node.json
- Creating a vite-env.d.ts -> This creates a type file for the vite client
- Change script reference in index.html from .jsx to .tsx