Insipration

Block Heap

Web Developer's Blog

Axios with Angular

This article assumes the following:

1. Follow official documentation to Install Angular, Create new app, and serve your new app.

Here’s my responses to the CLI prompts.

  • Would you like to add Angular routing? Yes
  • Which stylesheet format would you like to use? SCSS

    npm install -g @angular/cli
    ng new demo-angular-axios
    ng serve

Your app will now be available at: http://localhost:4200/

2. Install Axios


npm install axios


Leave a Reply

Your email address will not be published.

SIDEBAR HERE