DDapp Hello World - Adding web3js to Angular 4 Project
In previous tutorial, we created a simple web application with Angular 4, in this section, we're going to add web3js library for Angular application to connect to the Ethereum network.
Let's go back to the Visual Studio Code and ensure that Terminal windows still open (you can re open it by hit the combo keys Shift + ~.
Webpack is still running to update all your changes on code and automatically build it. Let stop it by press Ctrl + C and Type Y to stop now.
Make sure you still in the app location, type
npm install --save web3@^0.20.6
Let's see the output windows. Everything should be worked perfectly.
Good, let start Angular app again and everything still work on web browser.
ng serve --port 6969
Let's go back to the main course and see what is the next step.