• TypeScript 85.4%
  • CSS 6.3%
  • HTML 5.6%
  • JavaScript 2.7%
Find a file
2023-06-26 13:17:39 +03:00
public converted png images to webp for better browser loadtime 2023-06-26 13:17:39 +03:00
src converted png images to webp for better browser loadtime 2023-06-26 13:17:39 +03:00
.eslintrc.cjs Initial commit 2023-06-24 23:34:49 +03:00
.gitattributes Initial commit 2023-06-24 23:34:49 +03:00
.gitignore Initial commit 2023-06-24 23:34:49 +03:00
index.html Initial commit 2023-06-24 23:34:49 +03:00
package-lock.json installed react-router-dom 2023-06-26 12:37:58 +03:00
package.json installed react-router-dom 2023-06-26 12:37:58 +03:00
postcss.config.js Initial commit 2023-06-24 23:34:49 +03:00
README.md added demo site link to README.md 2023-06-24 23:47:12 +03:00
tailwind.config.js Initial commit 2023-06-24 23:34:49 +03:00
tsconfig.json Initial commit 2023-06-24 23:34:49 +03:00
tsconfig.node.json Initial commit 2023-06-24 23:34:49 +03:00
vite.config.ts Initial commit 2023-06-24 23:34:49 +03:00

Vite React TypeScript TailwindCSS

Vite + React + TypeScript + TailwindCSS Example Project

This example project is a Phone Catalogue and it was created with Vite, React, TypeScript and TailwindCSS.

This projects purpose is to show how to use these technologies together.

Since this project is only a frontend project, it reads the data from a items.json file.

Demo

Phone Catalogue

Usage

Clone repository

git clone https://github.com/MemerGamer/vite-react-ts-tailwind-example.git

Install dependencies

npm install

Run development server

npm run dev

To recreate this project from the base

Install vite with react and typescript

npm init vite@latest
# fill in the project name and select react-ts

Install tailwindcss

npm install -D tailwindcss@latest postcss@latest autoprefixer@latest
npx tailwindcss init -p

Install heroicons

npm install @heroicons/react