Deno/Vite/React/TS template and schema.sql

This commit is contained in:
2024-11-30 14:10:10 -07:00
parent 2e338bd407
commit 8c842936a1
16 changed files with 1113 additions and 0 deletions

20
vite.config.ts Normal file
View File

@@ -0,0 +1,20 @@
import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import deno from "@deno/vite-plugin";
import "react";
import "react-dom";
export default defineConfig({
root: "./client",
server: {
port: 3000,
},
plugins: [
react(),
deno(),
],
optimizeDeps: {
include: ["react/jsx-runtime"],
},
});