A basic React TypeScript application with minimal dependencies that displays a list of strings, built with Vite.
- React 18 with TypeScript
- Vite for fast development and building
- Minimal dependencies
- String list component that renders a list of strings
- Clean, modern UI
-
Install dependencies:
npm install
-
Start the development server:
npm run dev
-
Start the viam proxy:
viam module local-app-testing --app-url http://localhost:3000 --machine-id <machine-id>
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production build
src/App.tsx- Main application componentsrc/components/StringList.tsx- Component that renders a list of stringssrc/index.tsx- Application entry pointindex.html- HTML templatevite.config.ts- Vite configuration
- React 18.2.0
- React DOM 18.2.0
- Vite 4.4.0
- TypeScript 5.0.0
- Type definitions for React and React DOM