Angular Admin

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:8000/backend/api/' 
imageUrl: '<Your API url for image resize>', // eg: 'http://localhost:8000/backend/api/media/image-resize/' 
productUrl: '<Your store base url>', // eg: 'http://yourip.com/' 
relatedproductUrl : '<Your store base url>', // eg: 'http://yourip.com/' 
blogUrl : '<Your store base url>', // eg: 'http://yourip.com/' 
pluginUrl: '<Your API url>' // eg: 'http://yourip.com/'
};

To build your application run the following command

npm run large-build

Last updated