+ 1

How to start angular dev. in pc using VS code

I downloaded and installed npm then now what to do? I don't know to start a simple app Need help

4th Jun 2020, 8:07 AM
Abhay
Abhay - avatar
6 Réponses
+ 2
Install angular-cli by running following command it will install angular globally. So u can create angular project any where with the help of 'ng' commnad npm install -g @angular/cli once the angular is installed then just initialize a new angular project ng new app-name And then open vs code and navigate to the 'app-name' folder and open it. And start coding.. to learn more about angular u can visit the documentation. to run the application make sure to open terminal in the 'app-name' directory and on terminal run ng serve -o
4th Jun 2020, 8:24 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
Almost every node projects requires some basic libraries and modules to just init the app, whether you create React app, angular, vue, or even sass these libraries have dependencies which gets downloaded and stored in node_ modules folder. And every time you create a new app it will download all related dependencies to your app folder under node_modules, So it will need data connection.
4th Jun 2020, 8:30 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
+ 2
Edit: Installing Angular-cli might take 500 - 600 mb and and when you create the anugular app, around 60 - 100mb.. And yas you go on adding libraries which you may require further, the size may increase.. And the donwloads depends on your connection speed..
4th Jun 2020, 8:34 AM
Мг. Кнап🌠
Мг. Кнап🌠 - avatar
0
Sami Khan I already done that but it ask for internet My q. Is much data it takes from internet
4th Jun 2020, 8:26 AM
Abhay
Abhay - avatar
0
Sami Khan how much data Is it 500mb or 1GB
4th Jun 2020, 8:31 AM
Abhay
Abhay - avatar
0
Sami Khan I install angualr cli it takes lesser time than installing a new app package
4th Jun 2020, 12:28 PM
Abhay
Abhay - avatar