1. Changing Adapter
First, you need to change the adapter from your package.json and install the dependencies.
If you notice we have changed the devDependencies, from adapter-node to adapter-vercel and now you have to install the new dependencies.
After that, we will now change the adapter from svelte.config.js
And now you are ready to deploy it to vercel.
2. Deploying To Vercel
First, go to vercel.com and create a new project and import the Svelte Kit Project from your GitHub.
and when it asks for the build configuration change the output folder to ".vercel_build_output"
and you can now deploy with Serverless Functions and Routing.
If you want to see the tutorial on How to deploy Svelte Kit to Vercel here's is the video on Youtube
0 Comments
Don't Spam In Comments