mirror of
https://github.com/SrIzan10/next-auth.git
synced 2026-05-01 10:55:20 +00:00
Create JD App
This project was created using Create JD App
Deploying To Vercel
Installing
npm install solid-start-vercel@latest -D
Adding to vite config
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: true, adapter: vercel({ edge: false }) })],
};
});
Enviroment Variables
ENABLE_VC_BUILD=1.
You Are Done
Create a github repo and push your code to it, then deploy it to vercel (: