Starting a TypeScript Project
yarn init or npm init
js
// You can pass '-y' before the init, to assume 'yes' to all answers
/*
The command walks `yarn init`you through
- creating a package.json
- defining the project entry point (eg. index.js)
- test commands
*/Front-end
yarn create vite@latest my-frontend -- --template react-ts
npm create vite@latest my-frontend -- --template react-ts
Vitepress npx vitepress init
Back-end
yarn
bash
yarn add -D <package-name>
-D = Dev Dependency