Angular Vendor Setup

Follow these steps for initial setup and running your angular vendor application.

Before you get started with the initial setup of Angular vendor and running your application, make sure your prerequisites are in place.

Step 1 - Unzip your file and open it with your desired ide and then go to terminal and type,

 npm install  

If npm Install doesn't work, then try the command below:

npm install --force

and then follow the steps given below.

Step 2 - Navigate to project folder → src→ environments → environment.ts.

Then,

export const environment = { 
production: false, 
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/' 
};

Now, run your application:

To run your application in your respective browser, run the following command:

ng serve

To build and deploy your application, refer to Front End Angular Vendor Setup.

Last updated