Posts

Showing posts with the label VSCode

Implement Your First Module

Hi Friends, This is Lakshman here. As part of the Series "Angular Best Practices". Today, We will go through Practices to be followed for Implement Your First Module. If you're required to know, Options to Setup Angular Environment Click Here Practices for Your First Angular App Click Here I have covered things using Angular CLI in Windows. In all command, request to use Angular CLI installed in App's Dev Dependencies. In package.json "scripts": { "ng" : "ng" , ... } , "devDependencies": { ... "@angular/cli" : "~10.0.6" , ... } , ... Things to know On Module By Default App Module is Entry Point for every App. Each Angular App is required to have @Core & @Shared Module Apart from App Module. In @Core Module Should Include All Common Services, Interface, Enum, etc., Some Services, Authentication Validator Logger, etc., Should not include any UI related ...

Your First Angular App

Hi Friends, This is Lakshman here. As part of the Series "Angular Best Practices". Today, We will go through Practices followed on Our First Angular App. We have covered things using Angular CLI in Window. If your required to know Options to Setup Angular Environment Click Here Prerequisites are Node.JS Angular CLI (For App Creation) VS Code Once the prerequisites got installed, we will create our New Angular App at first. Suggested Points are In Create App in CLI: Finalize the CSS Style Type before creating Angular App. Always Set Angular Routing By Default. In Any Terminal : PS E:\Lakshman_IP\Blogger\AngularPractices> ng new ? What name would you like to use for the new workspace and initial project? ngAngularPractices ? Would you like to add Angular routing? Yes ? Which stylesheet format would you like to use? SCSS [ https://sass-lang.com/documentation/syntax#scss ] ... As Base Configuration: On build remove app name in the output ...