mirror of
https://github.com/shishantbiswas/bknd.git
synced 2026-03-17 04:46:05 +00:00
template: added cloudflare vite code template
This commit is contained in:
13
examples/cloudflare-vite-code/src/app/main.tsx
Normal file
13
examples/cloudflare-vite-code/src/app/main.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { StrictMode } from "react";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import "./index.css";
|
||||
import App from "./App.tsx";
|
||||
import { ClientProvider } from "bknd/client";
|
||||
|
||||
createRoot(document.getElementById("root")!).render(
|
||||
<StrictMode>
|
||||
<ClientProvider>
|
||||
<App />
|
||||
</ClientProvider>
|
||||
</StrictMode>
|
||||
);
|
||||
Reference in New Issue
Block a user