Initial commit
This commit is contained in:
commit
11d8229eb5
8 changed files with 1914 additions and 0 deletions
6
src/App.jsx
Normal file
6
src/App.jsx
Normal file
|
@ -0,0 +1,6 @@
|
|||
import { createRoot } from "react-dom/client";
|
||||
import MCL from "./MCL.jsx";
|
||||
const appRoot = document.getElementById("mcl");
|
||||
const root = createRoot(appRoot);
|
||||
|
||||
root.render(<MCL />);
|
17
src/MCL.jsx
Normal file
17
src/MCL.jsx
Normal file
|
@ -0,0 +1,17 @@
|
|||
// Imports
|
||||
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
// Create a query client for the app
|
||||
const queryClient = new QueryClient();
|
||||
// Export Minecluster
|
||||
export default function MCL() {
|
||||
return (
|
||||
<div className="mcl">
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<BrowserRouter>
|
||||
<h1>Welcome to Minecluster!</h1>
|
||||
</BrowserRouter>
|
||||
</QueryClientProvider>
|
||||
</div>
|
||||
);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue