Skip to content

Latest commit

 

History

History

React Project with Vite

This project was bootstrapped with Vite, a modern frontend build tool, and uses Vitest for testing.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in development mode.
Open http://localhost:3000 to view it in your browser.

The page will automatically reload when you make changes.
You may also see any lint errors in the console.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

npm run serve

Locally preview the production build.

npm test

Launches the test runner using Vitest.
See the section about Vitest for more information.

Learn More

To learn more about Vite, check out the Vite documentation.

To learn React, check out the React documentation.

For testing with Vitest, refer to the Vitest documentation.

Vite Configuration

You can customize the Vite configuration in the vite.config.js file. For more information, see the Vite Config Reference.

Deployment

For information about deploying your Vite app, check out the Vite Deployment Guide.

Performance Optimization

Vite is designed to be fast by default. However, for more advanced performance optimizations, refer to the Vite Performance Guide.

Troubleshooting

If you encounter any issues, check the Vite Troubleshooting Guide or the Vitest Troubleshooting Guide.