Initial commit

This commit is contained in:
Dunemask 2023-03-05 14:16:12 -05:00
commit 11d8229eb5
8 changed files with 1914 additions and 0 deletions

6
src/App.jsx Normal file
View 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
View 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>
);
}