A minimal React app bootstrapped with Vite. It includes hot module replacement (HMR) and ESLint configured for a smooth developer experience.
- Build tool: Vite
- UI: React 19
- Linting: ESLint (with React Hooks and React Refresh plugins)
/ (project root)
├─ public/
│ └─ vite.svg
├─ src/
│ ├─ App.jsx
│ ├─ Post.jsx
│ ├─ adpost.jsx
│ ├─ adn1.jsx
│ ├─ main.jsx
│ ├─ App.css
│ ├─ index.css
│ └─ assets/
│ └─ react.svg
├─ index.html
├─ package.json
├─ vite.config.js
└─ eslint.config.js
- Node.js 18+ recommended
- npm (comes with Node) or pnpm/yarn
npm installnpm run devThis starts the Vite dev server with HMR. Open the URL printed in the terminal (usually http://localhost:5173).
npm run lintnpm run buildOutputs a production build to the dist/ directory.
npm run previewServes the contents of dist/ locally to verify the production build.
dev: Start the Vite development serverbuild: Build for productionpreview: Preview the production build locallylint: Run ESLint over the project
- This project uses React Fast Refresh via Vite's React plugin for instant feedback during development.
- ESLint is configured to catch common issues early. Consider integrating with your editor for inline diagnostics.