Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Angular Projects

You're reading from   Angular Projects Build modern web apps in Angular 16 with 10 different projects and cutting-edge technologies

Arrow left icon
Product type Paperback
Published in Jul 2023
Publisher Packt
ISBN-13 9781803239118
Length 312 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Aristeidis Bampakos Aristeidis Bampakos
Author Profile Icon Aristeidis Bampakos
Aristeidis Bampakos
Arrow right icon
View More author details
Toc

Table of Contents (13) Chapters Close

Preface 1. Creating Your First Web Application in Angular 2. Building an SPA Application with Scully and Angular Router FREE CHAPTER 3. Building an Issue Tracking System Using Reactive Forms 4. Building a PWA Weather Application Using Angular Service Worker 5. Building a WYSIWYG Editor for the Desktop Using Electron 6. Building a Mobile Photo Geotagging Application Using Capacitor and 3D Maps 7. Building an SSR Application for a GitHub Portfolio Using Angular 8. Building an Enterprise Portal Using Nx Monorepo Tools and NgRx 9. Building a Component UI Library Using Angular CLI and Angular CDK 10. Customizing Angular CLI Commands Using Schematics 11. Other Books You May Enjoy
12. Index

Integrating Angular Universal

Angular Universal is an Angular library that enables an Angular CLI application to be rendered on the server. An SSR application increases the loading speed of an Angular application and improves the loading of the first page.To install Angular Universal in an existing Angular CLI application, we will use the following command of the Angular CLI:

ng add @nguniversal/express-engine

The previous command uses the ng add command of the Angular CLI to install the @nguniversal/express-engine npm package. The @nguniversal/express-engine package is the heart of the Angular Universal library and consists of a Node.js Express web server at its core.When we execute the preceding command to install Angular Universal, we are not only installing the library but also modifying our Angular CLI workspace with the following files:

  • angular.json: This creates new entries in the architect section to build and enable our Angular Universal application. One of these entries is...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at AU $24.99/month. Cancel anytime