We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6553b03 commit cb6ff76Copy full SHA for cb6ff76
2 files changed
src/Playground.jsx
@@ -0,0 +1,9 @@
1
+const Playground = () => {
2
+ return (
3
+ <div className="bg-slate-800 min-h-screen flex justify-center items-center text-white text-7xl">
4
+ Playground
5
+ </div>
6
+ );
7
+};
8
+
9
+export default Playground;
src/main.jsx
@@ -3,12 +3,14 @@ import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'
import { BrowserRouter, Route, Routes } from 'react-router';
+import Playground from './Playground.jsx';
createRoot(document.getElementById('root')).render(
<StrictMode>
10
<BrowserRouter>
11
<Routes>
12
<Route path="/" element={<App />} />
13
+ <Route path="/playground" element={<Playground />} />
14
</Routes>
15
</BrowserRouter>
16
</StrictMode>
0 commit comments