This project was created using Create JD App
pnpm install solid-start-vercel@latest -D
import solid from "solid-start/vite";
import dotenv from "dotenv";
import { defineConfig } from "vite";
// @ts-expect-error no typing
import vercel from "solid-start-vercel";
export default defineConfig(() => {
dotenv.config();
return {
plugins: [solid({ ssr: false, adapter: vercel({ edge: false }) })],
};
});
ENABLE_VC_BUILD
=1
.
Create a github repo and push your code to it, then deploy it to vercel (: