Pixer React Documentation
WelcomeHow It WorksInstallationFeaturesAvailable ScriptsCustomizationStyles and Assets
Back-End Integration
Deployment
New PageFAQSupportVersions

Vercel

vercel.com

If you want to host the template in vercel.com then follow this documentation,

API

It's not possible to host the API to vercel. Vercel doesn't support laravel API deployment. So you've to host the API on a separate server. We suggest you create a VPS server and host the API there.

To host the API to a seperate server, follow this doc from Beginning to Install API

After host the API successfully follow this part,

Vercel CLI

At first install vercel cli using this command,

install vercel cli on your computer using this command,

npm i -g vercel

After that, log in to vercel using this command,

vercel login

FrontEnd

Shop

Open shop -> next.config.js and add your domain to images object

Image.jpeg

If your API is hosted on a subdomain, then add that subdomain with root domain on next.config.js

Then Add API URL and other necessary config details to,

shop -> vercel.json

Then use this command from shop directory to deploy the shop to vercel

vercel

Admin

Open admin -> next.config.js and add your domain to images object

Image.jpeg

If your API is hosted on a subdomain, then add that subdomain with root domain on next.config.js

Then Add API URL and other necessary config details to,

admin -> vercel.json

Then use this command from admin directory to deploy the admin to vercel

vercel

For more details,

Please follow nextjs deployment docs: