Installation
Next.js Admin Installation
Instructions for setting up the SaasCart Next.js admin panel
Next.js Admin Installation
Ensure that Node.js is installed. If not, refer to the Node.js Installation.
Before starting, make sure you have configured and are running the Laravel API and the SaasCart Next.js frontend. Once that’s complete, you can proceed to set up the SaasCart Next.js admin panel.
Getting Started with SaasCart Admin
1. Open the Next.js Admin Directory
Navigate to the nextjs-saascart-admin
directory that you downloaded from CodeCanyon.
2. Configure next.config.js
- Open
next.config.js
in your code editor. - Adjust the URL settings as follows:
- Set
URL
to your Laravel API server URL. - Set
storageURL
to the primary domain for Laravel.
- Set
3. Install Node Modules
In the nextjs-saascart-admin
folder, run the following command in the terminal to install dependencies:
4. Run the Project
After installing the necessary dependencies, start the project with the following command:
This will start the application on the default port, accessible at http://localhost:3001.
Troubleshooting
If your project isn’t running successfully, try the following solutions:
- Ensure you’re using the latest version of Node.js.
- Delete the
node_modules
folder andpackage-lock.json
file, then runnpm install
again. - If the problem persists, re-download the software from SaasCart and retry the setup.
- For further assistance, you can create a support ticket.
Congratulations on completing the SaasCart Installation setup!