Angular Admin

Build your application :

Step1- While building the application in production mode → src→ environments →

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: '' 
relatedproductUrl : '<Your store base url>', // eg: '' 
blogUrl : '<Your store base url>', // eg: '' 
pluginUrl: '<Your API url>' // eg: ''

To build your application run the following command

npm run large-build

Last updated