From 54531d0087ec3c0982e8589e88f0981a0939764b Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 27 Jun 2026 20:12:36 +0530 Subject: react/02-vite sample project added --- react/02-vite/src/App.jsx | 122 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 react/02-vite/src/App.jsx (limited to 'react/02-vite/src/App.jsx') diff --git a/react/02-vite/src/App.jsx b/react/02-vite/src/App.jsx new file mode 100644 index 0000000..4f03aa1 --- /dev/null +++ b/react/02-vite/src/App.jsx @@ -0,0 +1,122 @@ +import { useState } from 'react' +import reactLogo from './assets/react.svg' +import viteLogo from './assets/vite.svg' +import heroImg from './assets/hero.png' +import './App.css' + +function App() { + const [count, setCount] = useState(0) + + return ( + <> +
+
+ + React logo + Vite logo +
+
+

Get started

+

+ Edit src/App.jsx and save to test HMR +

+
+ +
+ +
+ +
+
+ +

Documentation

+

Your questions, answered

+ +
+
+ +

Connect with us

+

Join the Vite community

+ +
+
+ +
+
+ + ) +} + +export default App -- cgit v1.2.3