Get started
This commit is contained in:
17
hicoinpay-react/src/App.jsx
Normal file
17
hicoinpay-react/src/App.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Routes, Route, BrowserRouter } from 'react-router-dom';
|
||||
import Home from './Home';
|
||||
import About from './About';
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<BrowserRouter>
|
||||
<Routes>
|
||||
<Route path="/" element={<Home />} />
|
||||
<Route path="/about" element={<About />} />
|
||||
{/* Add more routes as needed */}
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
||||
Reference in New Issue
Block a user