Untitled

mail@pastecode.io avatar
unknown
plain_text
a month ago
1.0 kB
2
Indexable
Never
import React from 'react'
import ReactDOM from 'react-dom/client'
import App from './App.jsx'
import './index.css'
import Login from './Login.jsx'
import WeatherApp from './Weatherdata.jsx'
import Dashboard from './Dashboard.jsx'
// import ImageUpload from './Imageupload.jsx'
import { BrowserRouter, Routes, Route } from "react-router-dom";
import ImageFetcher from './FetchImage.jsx'
// import UploadImages from './newApp.jsx'
ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    {/* <UploadImages/> */}
   <BrowserRouter>
    <Routes>
    


      <Route path="/" element={<Login />}></Route>
      <Route path="/Dashboard" element={<Dashboard />}></Route>
      <Route path="/Weatherdata" element={<WeatherApp/>}></Route>
      {/* <Route path="/Imageupload" element={<ImageUpload/>}></Route> */}
      <Route path="/FetchImage" element={<ImageFetcher/>}></Route>
      
    </Routes>
   </BrowserRouter>
   
  </React.StrictMode>,
)
Leave a Comment