From f81e2558d2655f04c5b4771fda2678972bfb4500 Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:02 +0000 Subject: [PATCH 01/12] Add index.html --- index.html | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 index.html diff --git a/index.html b/index.html new file mode 100644 index 0000000..28cedfe --- /dev/null +++ b/index.html @@ -0,0 +1,13 @@ + + + + + + + Vite + React + TS + + +
+ + + \ No newline at end of file -- 2.49.1 From c70375a6b64064647405b10d961f95b44698654b Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:03 +0000 Subject: [PATCH 02/12] Add package.json --- package.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 package.json diff --git a/package.json b/package.json new file mode 100644 index 0000000..ad4ecf3 --- /dev/null +++ b/package.json @@ -0,0 +1,12 @@ +{ + "name": "vite-react-tailwind-app", "private": true, + "version": "0.0.0", "type": "module", "scripts": { + "dev": "vite", "build": "vite build", "preview": "vite preview" + }, + "dependencies": { + "react": "^18.2.0", "react-dom": "^18.2.0" + }, + "devDependencies": { + "@types/react": "^18.2.15", "@types/react-dom": "^18.2.7", "@vitejs/plugin-react": "^4.0.3", "autoprefixer": "^10.4.14", "postcss": "^8.4.27", "tailwindcss": "^3.3.3", "typescript": "^5.0.2", "vite": "^4.4.5" + } +} \ No newline at end of file -- 2.49.1 From 89624e07cb72d1934643bbac852bbff32f7b8c9b Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:04 +0000 Subject: [PATCH 03/12] Add postcss.config.js --- postcss.config.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 postcss.config.js diff --git a/postcss.config.js b/postcss.config.js new file mode 100644 index 0000000..e99ebc2 --- /dev/null +++ b/postcss.config.js @@ -0,0 +1,6 @@ +export default { + plugins: { + tailwindcss: {}, + autoprefixer: {}, + }, +} \ No newline at end of file -- 2.49.1 From e42c141ce4ca1ba4882dc3aca3a11735ea8b2067 Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:05 +0000 Subject: [PATCH 04/12] Add public/vite.svg --- public/vite.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 public/vite.svg diff --git a/public/vite.svg b/public/vite.svg new file mode 100644 index 0000000..e7b8dfb --- /dev/null +++ b/public/vite.svg @@ -0,0 +1 @@ + \ No newline at end of file -- 2.49.1 From f058c26c668f4c41a30978f1d098d79b24750af3 Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:07 +0000 Subject: [PATCH 05/12] Add src/App.tsx --- src/App.tsx | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 src/App.tsx diff --git a/src/App.tsx b/src/App.tsx new file mode 100644 index 0000000..24c8eeb --- /dev/null +++ b/src/App.tsx @@ -0,0 +1,13 @@ +import React from 'react' + +function App() { + return ( +
+

+ Hello Vite + React + Tailwind! +

+
+ ) +} + +export default App \ No newline at end of file -- 2.49.1 From ef020be0b9b37960e264b1482193cf82177992ca Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:08 +0000 Subject: [PATCH 06/12] Add src/index.css --- src/index.css | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 src/index.css diff --git a/src/index.css b/src/index.css new file mode 100644 index 0000000..bd6213e --- /dev/null +++ b/src/index.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file -- 2.49.1 From c0c91325753530d3d933060a21a4f63def7da8ba Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:08 +0000 Subject: [PATCH 07/12] Add src/main.tsx --- src/main.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/main.tsx diff --git a/src/main.tsx b/src/main.tsx new file mode 100644 index 0000000..cbe1cdf --- /dev/null +++ b/src/main.tsx @@ -0,0 +1,10 @@ +import React from 'react' +import ReactDOM from 'react-dom/client' +import App from './App.tsx' +import './index.css' + +ReactDOM.createRoot(document.getElementById('root')!).render( + + + , +) \ No newline at end of file -- 2.49.1 From 43c6bd71c341972de642a3fd95b0e845a09f6546 Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:09 +0000 Subject: [PATCH 08/12] Add src/vite-env.d.ts --- src/vite-env.d.ts | 1 + 1 file changed, 1 insertion(+) create mode 100644 src/vite-env.d.ts diff --git a/src/vite-env.d.ts b/src/vite-env.d.ts new file mode 100644 index 0000000..151aa68 --- /dev/null +++ b/src/vite-env.d.ts @@ -0,0 +1 @@ +/// \ No newline at end of file -- 2.49.1 From d6a31b1e636889c83a9a7af2c3da9e4b9c23eba4 Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:10 +0000 Subject: [PATCH 09/12] Add tailwind.config.js --- tailwind.config.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 tailwind.config.js diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..42c2460 --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,9 @@ +/** @type {import('tailwindcss').Config} */ +export default { + content: [ + "./index.html", "./src/**/*.{js,ts,jsx,tsx}"], + theme: { + extend: {}, + }, + plugins: [], +} \ No newline at end of file -- 2.49.1 From bcfd1b6a08a9f498cb3e0ab47030d1cc9f3510b7 Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:11 +0000 Subject: [PATCH 10/12] Add tsconfig.json --- tsconfig.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tsconfig.json diff --git a/tsconfig.json b/tsconfig.json new file mode 100644 index 0000000..4db7363 --- /dev/null +++ b/tsconfig.json @@ -0,0 +1,17 @@ +{ + "compilerOptions": { + "target": "ES2020", "useDefineForClassFields": true, + "lib": ["ES2020", "DOM", "DOM.Iterable"], + "module": "ESNext", "skipLibCheck": true, + "moduleResolution": "bundler", "allowImportingTsExtensions": true, + "resolveJsonModule": true, + "isolatedModules": true, + "noEmit": true, + "jsx": "react-jsx", "strict": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noFallthroughCasesInSwitch": true + }, + "include": ["src"], + "references": [{ "path": "./tsconfig.node.json" }] +} \ No newline at end of file -- 2.49.1 From 3e2af936319d56fdfcb8b01efb3db8449afd7cbd Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:12 +0000 Subject: [PATCH 11/12] Add tsconfig.node.json --- tsconfig.node.json | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tsconfig.node.json diff --git a/tsconfig.node.json b/tsconfig.node.json new file mode 100644 index 0000000..9038688 --- /dev/null +++ b/tsconfig.node.json @@ -0,0 +1,8 @@ +{ + "compilerOptions": { + "composite": true, + "skipLibCheck": true, + "module": "ESNext", "moduleResolution": "bundler", "allowSyntheticDefaultImports": true + }, + "include": ["vite.config.ts"] +} \ No newline at end of file -- 2.49.1 From 0da26eb4ce7e5edfc8137111adefd48b0e48514a Mon Sep 17 00:00:00 2001 From: development Date: Fri, 16 Jan 2026 13:25:13 +0000 Subject: [PATCH 12/12] Add vite.config.ts --- vite.config.ts | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 vite.config.ts diff --git a/vite.config.ts b/vite.config.ts new file mode 100644 index 0000000..3e34260 --- /dev/null +++ b/vite.config.ts @@ -0,0 +1,6 @@ +import { defineConfig } from 'vite' +import react from '@vitejs/plugin-react' + +export default defineConfig({ + plugins: [react()], +}) \ No newline at end of file -- 2.49.1