Angular Vendor

This is the step-by-step guide to deploy the Vendor Panel.

Build your application :

Step1> While building the application in production mode → src→ environments → environment.prod.ts

export const environment = { 
production: true, 
baseUrl: '<Your API base url>', // eg:'http://localhost:9000/backend/api/' 
imageUrl: '<Your API url for image resize>', // eg:'http://localhost:9000/backend/api/media/image-resize' 
productUrl: '<Your store base url>', // eg:'http://yourip.com/' 
pluginUrl: '<Your API url>' // eg:'http://yourip.com/' 
};

Step2> To build your application run the following command

ng build – prod

Last updated