Skip to content

Latest commit

 

History

History
75 lines (57 loc) · 1.64 KB

README.md

File metadata and controls

75 lines (57 loc) · 1.64 KB

Tweet with React + Vite

This project provides a minimal setup to get React working with Vite, including Hot Module Replacement (HMR) and some ESLint rules.

Available Plugins

Currently, two official plugins are available:

Getting Started

Create the Project

To create the project, run:

npm create vite@latest

Install Dependencies

To install the necessary dependencies, run:

npm install

Run the Development Server

To start the development server, run:

npm run dev

Build for Production

To build the project for production, run:

npm run build

Preview the Production Build

To preview the production build locally, run:

npm run preview

Linting

To lint the project files, run:

npm run lint

Project Structure

[.eslintrc.cjs](http://_vscodecontentref_/1)
.gitignore
[index.html](http://_vscodecontentref_/2)
[package.json](http://_vscodecontentref_/3)
public/
[README.md](http://_vscodecontentref_/4)
src/
  App.css
  [App.jsx](http://_vscodecontentref_/5)
  assets/
  [index.css](http://_vscodecontentref_/6)
  [main.jsx](http://_vscodecontentref_/7)
  [SayHello.jsx](http://_vscodecontentref_/8)
  [Tweet.jsx](http://_vscodecontentref_/9)
  [TweetForm.jsx](http://_vscodecontentref_/10)
  [TweetList.jsx](http://_vscodecontentref_/11)
[vite.config.js](http://_vscodecontentref_/12)