Skip to content
snooopdogPublic

About

React app with Vite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

Repository files navigation

React App with Vite

A modern React application built with Vite for fast development and optimized production builds.

Features

  • ⚡️ Vite - Next generation frontend tooling
  • ⚛️ React 18 - Latest React with concurrent features
  • 🔥 Hot Module Replacement - Instant updates during development
  • 📦 Optimized Build - Tree-shaking and code splitting for production
  • 🎯 TypeScript Ready - Easy migration to TypeScript

Getting Started

Prerequisites

  • Node.js 18+
  • npm or yarn

Installation

npm install

Development

Start the development server with hot reload:

npm run dev

Open http://localhost:5173 to view the app.

Build for Production

Create an optimized production build:

npm run build

Preview the production build locally:

npm run preview

Project Structure

react-app/
├── public/           # Static assets
├── src/
│   ├── assets/       # Images, fonts, etc.
│   ├── components/   # Reusable React components
│   ├── App.jsx       # Root component
│   ├── App.css       # Root component styles
│   ├── main.jsx      # Entry point
│   └── index.css     # Global styles
├── index.html        # HTML template
├── package.json
├── vite.config.js
└── README.md

Scripts

Command Description
npm run dev Start development server
npm run build Build for production
npm run preview Preview production build
npm run lint Run ESLint

Learn More

License

MIT

About

React app with Vite

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages