Instructions for setting up the SaasCart Next.js frontend
nextjs-saascart-frontend
directory that you downloaded from SaasCart.
next.config.js
next.config.js
in your code editor.baseURL
to the main URL for your frontend, e.g., http://localhost:3000 or https://your-domain.com.URL
to your Laravel API server URL, e.g., http://127.0.0.1:8000/api or https://api.your-domain.com/api.storageURL
to the primary domain for Laravel, e.g., http://127.0.0.1:8000 or https://api.your-domain.com.api.your-domain.com
to the hostname for image access.nextjs-saascart-frontend
folder, run the following command in the terminal to install dependencies: