1. Install NODEJS/NPM
inside of a terminal type: sudo apt install nodejs
as an alternative you can use nvm:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
then just type: nvm install --lts
this will download install and use latest long-term supported version of node.
2. Install the angular CLI
with npm i -g @angular/cli
3. Create new project: ng new myproject
4. Add Material Design: ng add @angular/material
5. Restart ng serve if running and enjoy your Material enabled project!
No comments:
Post a Comment