The project is set up on the top of Vite using react-ts template
Requirements:
- node.js v 16 (LTS) or higher
Installation
npm install
Commands from package.json explained:
npm run start
will run the project locally on port 3000 and will open the default browsernpm run dev
will run the project locally on random port, the URL will be provided by the terminal responsenpm run build
will make a production build and put it intodist
foldernpm run preview
will locally preview the production build, make sure that it exists (npm run build
was run before)
If you want to start dev server or make a build with additional options, check them by running
npx vite --help