Code pedia
Here, you can find some codes we have used during the course, as so you can use them your own project!
Starting your project from scratch
//Just for desktop. Fo Stackblitz, just skip this part!
ng new miyagi-do-lab //use this command to create a brand new project
npm start // use this to start the project
// Some codenpm test // run the spec file, unit testing
ng generate component <component> // use this to create your component
ng add @angular/material // add Angular Material to your app
Adding a new module to your app
ng generate module <module name>
Cloning from a branch in GitHub
git clone -b <module you want>
E.g.,
git clone -b module_1 https://github.com/JorgeGuerraPires/udemy-course-angular-numerical-analysis.git
For cloning module 1, should you want to run it in your machine, do not forget npm i
and then npm start
Last updated
Was this helpful?