Angular
Revision as of 17:01, 30 April 2022 by Rafahsolis (talk | contribs) (Created page with "== NPM (Node package manager) == === Create new project === <syntaxhighlight lang="bash"> npm init </syntaxhighlight> === Install package in project === <syntaxhighlight lan...")
NPM (Node package manager)
Create new project
npm init
Install package in project
npm install jquery
packages will be downloaded to node_modules folder
Install modules from existing project
npm install
Install Angular
npm install -g @angular/cli
Create and run Angular application
ng new my-app
cd my-app
ng serve