Skip to content

MitichPavel/marvel_api

Repository files navigation

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:

Project with React and Marvel API

Marvel API 👉 project preview

Available Scripts

In the project directory, you can run:

pnpm start

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

The page will reload if you make edits.
You will also see any lint errors in the console.

pnpm build

Builds the app for production to the dist folder.\

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

See the section about deployment for more information.

pnpm preview

Testing the app locally. The vite preview command will boot up a local static web server that serves the files from dist at http://localhost:4173

See documentation about more information https://vite.dev/guide/static-deploy.html#testing-the-app-locally

Learn More

To learn React, check out the React documentation.