Blog
Mert Özen's blog posts on software development, backend, frontend, and DevOps.
What Angular 13 Brought: Upgrading with ng update, Ivy-Only Angular and the New Dynamic Component API
We upgrade from Angular 12 to 13 step by step with ng update. View Engine's removal, the end of IE11, factory-less createComponent, the persistent build cache and Node/TypeScript requirements.
Angular Build and Deploy: ng build, Environment Files, Budgets and SPA Routing
Production bundles with ng build in Angular 12: the dist output, environment files via fileReplacements, budgets, base href, the SPA routing 404 on Nginx/IIS, source maps and bundle analysis.
What Is an Angular NgModule? Declarations, Imports, Exports and Feature Modules
We open up NgModule, the skeleton of an Angular 12 app: declarations, imports, exports, providers, bootstrap, startup in main.ts, BrowserModule vs CommonModule, feature and shared modules.
Your First Angular Component: The Anatomy of Decorator, Selector and Template
We take apart an Angular component: the @Component decorator, selector, template and styles. We generate one with the CLI and see the component tree and style encapsulation.
Angular Setup and Your First Project: Preparing the Environment from Scratch
We install Node 16 with nvm and Angular CLI 12, create our first project, and walk through every file from app.module.ts to the environments folder to see what each one does.