Spaces:
Runtime error
Runtime error
|
Download frontend-react/README.md from Amitkasar/ai-api-testing: direct link, hf CLI and curl.
- Browser
- Download file 1.32 kB
-
https://huggingface.co/spaces/Amitkasar/ai-api-testing/resolve/main/frontend-react/README.md
- Command line
-
hf download hf://spaces/Amitkasar/ai-api-testing/frontend-react/README.md
-
curl -L -o README.md https://huggingface.co/spaces/Amitkasar/ai-api-testing/resolve/main/frontend-react/README.md
1.32 kB
React + Vite
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Oxc
- @vitejs/plugin-react-swc uses SWC
Getting Started
To get the project running locally, follow these steps:
Install Dependencies:
npm installNote: If you encounter dependency conflicts, use
npm install --legacy-peer-deps.Run the Development Server:
npm run dev
React Compiler
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see this documentation.
Expanding the ESLint configuration
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the TS template for information on how to integrate TypeScript and typescript-eslint in your project.