Install Vite
- Run
npm create vite@latest .(The.(period) will create the project inside whatever folder you are currently in). - Use the arrow key to select the React framework.
- Choose Javascript language.
- Run
npm ito install all dependencies. - Next, run
npm run devto start the application.
Manage Directories
Delete the following directories:
- public
- src/assets
Manage Files
Delete the following files:
- src/index.css
- src/app.css
Create the following files:
- src/NewTodoForm.jsx
- src/TodoList.jsx
- src/TodoItem.jsx
- src/styles.css