Migrate to Vite from CRA

This commit is contained in:
1ilit
2023-12-16 05:39:13 +02:00
parent 503d55b528
commit 46685a98fe
52 changed files with 2292 additions and 15125 deletions

28
src/App.jsx Normal file
View File

@@ -0,0 +1,28 @@
import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
import Editor from "./pages/Editor";
import LandingPage from "./pages/LandingPage";
import Survey from "./pages/Survey";
import BugReport from "./pages/BugReport";
import SignUp from "./pages/Signup";
import Shortcuts from "./pages/Shortcuts"
import Login from "./pages/Login";
import Templates from "./pages/Templates";
function App() {
return (
<Router>
<Routes>
<Route path="/" element={<LandingPage />} />
<Route path="/editor" element={<Editor />} />
<Route path="/survey" element={<Survey />} />
<Route path="/shortcuts" element={<Shortcuts />} />
<Route path="/bug_report" element={<BugReport />} />
<Route path="/signup" element={<SignUp />} />
<Route path="/login" element={<Login />} />
<Route path="/templates" element={<Templates />} />
</Routes>
</Router>
);
}
export default App;