Guide to deploying SaasCart Frontend and Admin on Vercel with CPanel setup for Laravel API
nextjs-saascart-frontend
directory that you downloaded from SaasCart.
next.config.js
next.config.js
in a code editor.baseURL
: Set to the base URL for your frontend (e.g., https://store.your-domain.com
).URL
: Set to your Laravel API server URL (e.g., https://api.your-domain.com/api
).storageURL
: Set to the main domain for the Laravel API.store.your-domain.com
and api.your-domain.com
with your actual domain names or subdomains.nextjs-saascart-frontend
folder, deploy the project by running: